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