Ver Fonte

test: jenkins file

Douglas A há 4 anos atrás
pai
commit
88a46a72e1
1 ficheiros alterados com 3 adições e 1 exclusões
  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 ./..."
+                                }
                         }
                 }
         }