فهرست منبع

test: jenkins file

Douglas A 4 سال پیش
والد
کامیت
88a46a72e1
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      jenkins/Jenkinsfile

+ 3 - 1
jenkins/Jenkinsfile

@@ -16,7 +16,9 @@ pipeline {
                 }
                 stage('Test') {
                         steps {
-                                sh 'go test -v ./...'
+                                withEnv(["GOROOT=${root}, "PATH+GO=${root}/bin:${HOME}/go/bin"]) {
+                                        sh "go test -v ./..."
+                                }
                         }
                 }
         }