mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:56:31 +00:00
updating and testing ImageMatcher pipeline
This commit is contained in:
+25
-29
@@ -9,7 +9,7 @@ pipeline {
|
||||
|
||||
tools {
|
||||
// Define any tools needed specifically for building ImageMatcher
|
||||
git 'Default' // Git is NOT needed for checkout in this pipeline
|
||||
// git 'Default' // Git is NOT needed for checkout in this pipeline
|
||||
// dotnetsdk 'dotnet-sdk' // If ImageMatcher is a .NET project
|
||||
}
|
||||
|
||||
@@ -24,38 +24,34 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
// Use a dir() step to ensure all subsequent steps run in the shared workspace
|
||||
stage('Run in Shared Workspace') {
|
||||
steps {
|
||||
dir(env.SHARED_WORKSPACE) {
|
||||
echo "Changing directory to shared workspace: ${env.SHARED_WORKSPACE}"
|
||||
// Use a dir() step to ensure all subsequent stages/steps run in the shared workspace
|
||||
dir(env.SHARED_WORKSPACE) {
|
||||
echo "Changing directory to shared workspace: ${env.SHARED_WORKSPACE}"
|
||||
|
||||
// Removed: stage('Checkout ImageMatcher Code') - Code is checked out by Dependencies pipeline
|
||||
// Removed: stage('Checkout ImageMatcher Code') - Code is checked out by Dependencies pipeline
|
||||
|
||||
stage('Build ImageMatcher') {
|
||||
steps {
|
||||
echo 'Building ImageMatcher...'
|
||||
// Add steps here to build the ImageMatcher project
|
||||
// This might involve compiling code, running build scripts, etc.
|
||||
// Based on your original script, this likely involves running a build.cmd
|
||||
// The code is expected to be in the 'gps-denied' subdirectory relative to the shared workspace
|
||||
dir('gps-denied\\image-matcher') { // Change directory to the ImageMatcher build location relative to SHARED_WORKSPACE
|
||||
bat 'build.cmd' // Replace with the actual build command
|
||||
}
|
||||
}
|
||||
stage('Build ImageMatcher') {
|
||||
steps {
|
||||
echo 'Building ImageMatcher...'
|
||||
// Add steps here to build the ImageMatcher project
|
||||
// This might involve compiling code, running build scripts, etc.
|
||||
// Based on your original script, this likely involves running a build.cmd
|
||||
// The code is expected to be in the 'gps-denied' subdirectory relative to the shared workspace
|
||||
dir('gps-denied\\image-matcher') { // Change directory to the ImageMatcher build location relative to SHARED_WORKSPACE
|
||||
bat 'build.cmd' // Replace with the actual build command
|
||||
}
|
||||
|
||||
// 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 (SHARED_WORKSPACE)
|
||||
// archiveArtifacts artifacts: 'path/to/imagematcher/build/output/**' // Adjust path
|
||||
// }
|
||||
// }
|
||||
} // end dir(env.SHARED_WORKSPACE)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 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 (SHARED_WORKSPACE)
|
||||
// archiveArtifacts artifacts: 'path/to/imagematcher/build/output/**' // Adjust path
|
||||
// }
|
||||
// }
|
||||
} // end dir(env.SHARED_WORKSPACE)
|
||||
}
|
||||
|
||||
post {
|
||||
|
||||
Reference in New Issue
Block a user