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,9 +36,11 @@ 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) {
stage("Publish ${packageEnv} packages (version ${packageVersion}) on Vulcain") {
vulcain.publish(destDir, packageEnv, env.BRANCH_NAME) vulcain.publish(destDir, packageEnv, env.BRANCH_NAME)
} }
} }
}
} }