Ajout stage spécifique pour la publication des paquets

This commit is contained in:
wpetit 2019-01-25 11:52:12 +01:00
parent 573715c9d7
commit 83a7b38f10
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ def buildPackageWithCPKG(
sh "rm -rf ${destDir}/*" sh "rm -rf ${destDir}/*"
buildPackage(packageProfile, packageArch, baseImage, destDir, forceRebuild) buildPackage(packageProfile, packageArch, baseImage, destDir, forceRebuild)
if (publishPackages) { if (publishPackages) {
vulcain.publish(destDir, packageEnv, env.BRANCH_NAME) stage("Publish ${packageEnv} packages (version ${packageVersion}) on Vulcain") {
vulcain.publish(destDir, packageEnv, env.BRANCH_NAME)
}
} }
} }