mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:46:30 +00:00
updating and testing BuildDependencies Jenkins pipeline file
This commit is contained in:
@@ -19,30 +19,25 @@ pipeline {
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
echo 'Checking out Azaion Suite and ImageMatcher code for dependencies...'
|
||||
// Checkout Suite repo using SSH
|
||||
sshagent(credentials: ['DZ-id']) { // Replace 'DZ-id' with your actual Jenkins credential ID
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
branches: [[name: '*/dev']], // Adjust branch name if needed
|
||||
userRemoteConfigs: [[
|
||||
url: "${env.REPO_ANNOTATOR_URL}", // Use SSH URL
|
||||
]],
|
||||
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'suite']] // Checkout into 'suite' subdirectory
|
||||
])
|
||||
}
|
||||
//Suite
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
branches: [[name: '*/dev']],
|
||||
userRemoteConfigs: [[
|
||||
url: "${env.REPO_ANNOTATOR_URL}"
|
||||
]],
|
||||
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'suite']]
|
||||
])
|
||||
|
||||
// Checkout GPS-Denied repo using SSH
|
||||
sshagent(credentials: ['DZ-id']) { // Replace 'DZ-id' with your actual Jenkins credential ID
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
branches: [[name: '*/gps-denied']], // Adjust branch name if needed
|
||||
userRemoteConfigs: [[
|
||||
url: "${env.REPO_GPS_DENIED_URL}", // Use SSH URL
|
||||
]],
|
||||
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'gps-denied']] // Checkout into 'gps-denied' subdirectory
|
||||
])
|
||||
}
|
||||
//GPS-Denied
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
branches: [[name: '*/image-matcher']],
|
||||
userRemoteConfigs: [[
|
||||
url: "${env.REPO_GPS_DENIED_URL}"
|
||||
]],
|
||||
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'gps-denied']]
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user