Browse Source

test: jenkins file

Douglas A 4 years ago
parent
commit
88a46a72e1
1 changed files with 3 additions and 1 deletions
  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 ./..."
+                                }
                         }
                 }
         }