CI: Add stage to push to local git repository

This commit is contained in:
Jaroslava Fiedlerova
2026-04-03 08:48:32 +02:00
parent e0d9edeeee
commit febbadf83a
+17
View File
@@ -112,6 +112,23 @@ pipeline {
}
}
}
stage ("Local-Repo-Push") {
steps {
script {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
triggerSlaveJob ('RAN-Local-Repo-Push', 'Local-Repo-Push')
}
}
}
post {
failure {
script {
echo "Push to local repository KO"
failingStages += '\n * RAN-Local-Repo-Push'
}
}
}
}
// Build Stages are Mandatory
stage ("Image Building Processes") {
when { expression {doBuild} }