test branch develop und IP 172.20.0.2 und try catch blocke in jenkinsfile pipeline

This commit is contained in:
ISA
2024-07-13 22:16:08 +02:00
parent 7618fbea95
commit 284323842e

4
Jenkinsfile vendored
View File

@@ -11,9 +11,9 @@ pipeline {
script {
try {
// Code aus dem Repository holen
git branch: 'develop', url: 'http://localhost:3003/Ismail/NodeMap.git'
git branch: 'develop', url: 'http://172.20.0.2:3000/Ismail/NodeMap.git'
} catch (Exception e) {
error "Branch 'main2' exists nicht im Repository"
error "Branch 'develop' exists nicht im Repository"
}
}
}