Utilisation du la distribution cible pour la génération de la branche du
paquet
This commit is contained in:
parent
a95f051dc2
commit
81bb434d06
|
@ -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('-', '/'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue