refs #2747 Updates Jenkisfile to autolaunch debian publish repos
ogboot/pipeline/head This commit looks good Details

pull/23/head
Nicolas Arenas 2025-09-03 10:46:58 +02:00
parent 9e72054fc4
commit f166b9650d
1 changed files with 15 additions and 2 deletions

View File

@ -97,8 +97,21 @@ 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('narenas@qindel.com')
notifyBuildStatus('opengnsys@qindel.com')
}
}
}
}