Commit 7695c1df authored by Morten Knutsen's avatar Morten Knutsen
Browse files

Jenkinsfile: stashed paths retain their directory.

parent dad1261e
...@@ -25,7 +25,7 @@ node { ...@@ -25,7 +25,7 @@ node {
docker.image('cdrx/fpm-debian:8').inside { docker.image('cdrx/fpm-debian:8').inside {
stage 'package' stage 'package'
unstash 'binary' unstash 'binary'
sh 'mv jwt-tokenissuer /src/' sh 'mv dist/linux-amd64/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