test branch develop und try catch blocke in jenkinsfile pipeline

This commit is contained in:
ISA
2024-07-13 22:12:54 +02:00
parent 22f4e1f865
commit 7618fbea95

2
Jenkinsfile vendored
View File

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