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

View File

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