refs #2741 Test auto launch puublish
ogrepository/pipeline/head This commit looks good Details

pull/45/head
Nicolas Arenas 2025-09-03 10:25:44 +02:00
parent d8f3eb0a19
commit 1761ec4378
1 changed files with 13 additions and 0 deletions

View File

@ -99,6 +99,19 @@ pipeline {
}
}
post {
success {
script {
// Solo lanzar cuando el build sea exitoso y en la rama main
if (env.BRANCH_NAME == 'main') {
build job: 'Aptly publish nightly repository',
wait: false,
parameters: [
string(name: 'TRIGGERED_BY', value: "${env.JOB_NAME}-${env.BUILD_NUMBER}")
]
}
}
}
always {
notifyBuildStatus('opengnsys@qindel.com')
}