summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2018-03-29 22:12:09 +0200
committerJan Dittberner <jandd@cacert.org>2018-03-29 22:12:09 +0200
commit8cf5ad44a475def645a663534fdcfcc3af4166aa (patch)
tree11db9cc07ae5c07966e69cf681195fe6c3494a71 /Jenkinsfile
parent369c9dab160a6d41c37908b911aa00b88a6437c3 (diff)
downloadcacert-boardvoting-8cf5ad44a475def645a663534fdcfcc3af4166aa.tar.gz
cacert-boardvoting-8cf5ad44a475def645a663534fdcfcc3af4166aa.tar.xz
cacert-boardvoting-8cf5ad44a475def645a663534fdcfcc3af4166aa.zip
Include $GOPATH in $PATH0.4.2
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 09e443c..56bfc82 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -4,6 +4,7 @@ pipeline {
environment {
GOPATH = "${pwd(tmp: true)}/gocode"
+ PATH = "${GOPATH}/bin:${PATH}"
}
stages {
@@ -14,7 +15,7 @@ pipeline {
steps {
sh "rm -rf '${GOPATH}/src/git.cacert.org' ; mkdir -p '${GOPATH}/src/git.cacert.org'"
sh "ln -s '${pwd()}' '${BUILDDIR}'"
- sh "cd '${BUILDDIR}' ; go get -u github.com/golang/dep/cmd/dep && '${GOPATH}/bin/dep' ensure -v"
+ sh "cd '${BUILDDIR}' ; go get -u github.com/golang/dep/cmd/dep && dep ensure -v"
sh "go get -u github.com/shuLhan/go-bindata/go-bindata"
}
}