Utilisation du la distribution cible pour la génération de la branche du

paquet
This commit is contained in:
wpetit 2019-02-05 12:17:01 +01:00
parent a95f051dc2
commit 81bb434d06
1 changed files with 3 additions and 1 deletions

View File

@ -33,11 +33,13 @@ def buildPackageWithCPKG(
writeFile file: '.tamarinrc', text: tamarinrc writeFile file: '.tamarinrc', text: tamarinrc
stage("Build ${packageEnv} package (version ${packageVersion}) for ${packageDistrib}") { stage("Build ${packageEnv} package (version ${packageVersion}) for ${packageDistrib}") {
sh "rm -rf ${destDir}/*" sh "rm -rf ${destDir}/*"
buildPackage(packageProfile, packageArch, baseImage, destDir, forceRebuild) buildPackage(packageProfile, packageArch, baseImage, destDir, forceRebuild)
if (publishPackages) { if (publishPackages) {
stage("Publish ${packageEnv} packages (version ${packageVersion}) on Vulcain") { stage("Publish ${packageEnv} packages (version ${packageVersion}) on Vulcain") {
vulcain.publish(destDir, packageEnv, env.BRANCH_NAME) vulcain.publish(destDir, packageEnv, packageDistrib.replace('-', '/'))
} }
} }
} }