Commit 01a2f42d authored by Morten Knutsen's avatar Morten Knutsen
Browse files

Move the code inside the GOPATH.

parent c915ea6f
......@@ -9,10 +9,13 @@ node {
withEnv(["HOME=${env.WORKSPACE}"]) {
stage 'test'
sh 'env'
sh 'mkdir -p \$GOPATH/src/'
sh 'cp -r . \$GOPATH/src/'
sh 'cd \$GOPATH/src/'
sh 'curl | sh'
sh 'git config --global "jenkins"'
sh 'git config --global "jenkins@localhost"'
sh 'glide --debug install'
sh 'glide install'
sh 'make test'
stage 'build'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment