diff --git a/Jenkinsfile b/Jenkinsfile index 37b602f..44d1d68 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,6 @@ pipeline { environment { GOPATH = "${pwd()}/gocode" - PATH = "${pwd()}/gocode/bin:${env.PATH}" } stages { @@ -13,7 +12,7 @@ pipeline { sh "rm -rf '${GOPATH}/src/git.cacert.org' ; mkdir -p '${GOPATH}/src/git.cacert.org'" sh "ln -s '${pwd()}' '${GOPATH}/src/git.cacert.org/cacert-boardvoting'" sh "go get -u github.com/golang/dep/cmd/dep" - sh "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; dep ensure -v" + sh "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; ${GOPATH}/bin/dep ensure -v" } } stage('Build') {