mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
CI: Explicitly pass BRANCH_NAME to buildAsterisk and installAsterisk
Change-Id: I652f4a0ea5107c778e27a78bccb67b18b0c4e087
This commit is contained in:
@@ -47,7 +47,7 @@ pipeline {
|
||||
img.inside(dockerOptions + " --name ${bt}-build") {
|
||||
echo 'Building..'
|
||||
env.CCACHE_DIR = "/srv/cache/ccache"
|
||||
sh "./tests/CI/buildAsterisk.sh --ref-debug --output-dir=${outputdir} --cache-dir=/srv/cache"
|
||||
sh "./tests/CI/buildAsterisk.sh --ref-debug --branch-name=${BRANCH_NAME} --output-dir=${outputdir} --cache-dir=/srv/cache"
|
||||
|
||||
archiveArtifacts allowEmptyArchive: true, defaultExcludes: false, fingerprint: false,
|
||||
artifacts: "${outputdir}/*"
|
||||
@@ -73,7 +73,7 @@ pipeline {
|
||||
img.inside("${dockerOptions} --name ${bt}-${groupName}") {
|
||||
|
||||
lock("${JOB_NAME}.${NODE_NAME}.installer") {
|
||||
sh 'sudo ./tests/CI/installAsterisk.sh --user-group=jenkins:users'
|
||||
sh "sudo ./tests/CI/installAsterisk.sh --branch-name=${BRANCH_NAME} --user-group=jenkins:users"
|
||||
}
|
||||
|
||||
sh "sudo rm -rf ${groupDir} || : "
|
||||
|
Reference in New Issue
Block a user