Commit 9666cb54 authored by Morten Knutsen's avatar Morten Knutsen
Browse files

Jenkinsfile: Fix some more variable syntax.

parent 4d12aa97
...@@ -9,7 +9,7 @@ node { ...@@ -9,7 +9,7 @@ node {
stage 'test' stage 'test'
sh 'env' sh 'env'
sh 'curl https://glide.sh/get | sh' sh 'curl https://glide.sh/get | sh'
sh 'mv $GOPATH/src/github.com/UNINETT ${GOPATH}/src/github.com/uninett' sh 'mv $GOPATH/src/github.com/UNINETT $GOPATH/src/github.com/uninett'
sh 'cd $GOPATH/src/github.com/uninett/jwt-tokenissuer' sh 'cd $GOPATH/src/github.com/uninett/jwt-tokenissuer'
sh 'glide install' sh 'glide install'
sh 'make test' sh 'make test'
...@@ -22,7 +22,7 @@ node { ...@@ -22,7 +22,7 @@ node {
stage 'package' stage 'package'
unstash 'binary' unstash 'binary'
sh 'mv jwt-tokenissuer /src/' sh 'mv jwt-tokenissuer /src/'
sh 'fpm -s dir /src=/opt/jwt-tokenissuer -t deb -n jwt-tokenissuer -v ${VERSION_STRING}' sh 'fpm -s dir /src=/opt/jwt-tokenissuer -t deb -n jwt-tokenissuer -v $VERSION_STRING'
archive includes: '*.deb' archive includes: '*.deb'
} }
} }
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