Pass branch name to validate-packages

This commit is contained in:
Oliver Jowett 2019-09-04 23:55:48 +08:00
parent 1d29f5e059
commit 0a0fb46b5d

2
Jenkinsfile vendored
View file

@ -30,7 +30,7 @@ node(label: 'raspberrypi') {
}
stage("Test install on ${dist}") {
sh "/build/pi-builder/scripts/validate-packages.sh ${dist} ${results}/dump1090-fa_*.deb ${results}/dump1090_*.deb"
sh "BRANCH=${env.BRANCH_NAME} /build/pi-builder/scripts/validate-packages.sh ${dist} ${results}/dump1090-fa_*.deb ${results}/dump1090_*.deb"
}
}