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/github.com/uninett/jwt-tokenissuer'
sh 'cp -r . \$GOPATH/src/github.com/uninett/jwt-tokenissuer'
sh 'cd \$GOPATH/src/github.com/uninett/jwt-tokenissuer'
sh 'curl https://glide.sh/get | sh'
sh 'git config --global user.name "jenkins"'
sh 'git config --global user.email "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