updating and testing ImageMatcher pipeline

This commit is contained in:
dzaitsev
2025-05-03 15:09:28 +03:00
parent 0153634166
commit 6d17632c23
2 changed files with 129 additions and 57 deletions
+2 -12
View File
@@ -46,24 +46,14 @@ pipeline {
}
}
// Optional: Archive ImageMatcher build artifacts if needed by Azaion Build
// stage('Archive ImageMatcher Artifacts') {
// steps {
// echo 'Archiving ImageMatcher artifacts...'
// // Path is relative to the current directory (which will be SHARED_WORKSPACE due to the outer dir)
// dir(env.SHARED_WORKSPACE) { // Ensure this also runs in the shared workspace
// archiveArtifacts artifacts: 'path/to/imagematcher/build/output/**' // Adjust path relative to SHARED_WORKSPACE
// }
// }
// }
}
post {
success {
echo 'ImageMatcher built successfully. Triggering Azaion Build pipeline...'
// Trigger the Azaion Build pipeline job upon success
// Replace 'Azaion Build' with the exact name of your Azaion Build Jenkins job
build job: 'Azaion Build',
// Replace 'AzaionBuild' with the exact name of your Azaion Build Jenkins job
build job: 'AzaionBuild',
wait: false // Set to true if you want ImageMatcher Build to wait for Azaion Build to finish
// You might pass parameters here if Azaion Build needs info from ImageMatcher
// Example: parameters: [ string(name: 'IMAGEMATCHER_BUILD_NUMBER', value: env.BUILD_NUMBER) ]