From 58aed9abd1a5f3ae7b54b46a885e987adcf5c270 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sun, 27 Aug 2017 15:56:23 +0200 Subject: [PATCH] Use dep in Jenkinsfile --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e3bc736..697015a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,8 @@ pipeline { steps { 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 "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; go get" + sh "go get -u github.com/golang/dep/cmd/dep" + sh "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; dep ensure -v" } } stage('Build') {