This commit is contained in:
Jakub Zaręba 2023-05-23 23:07:58 +02:00
parent 5e33e7a618
commit 551ca5ca6f

View File

@ -14,10 +14,12 @@ pipeline {
stage('Clone Repository') { stage('Clone Repository') {
steps { steps {
try { script {
git 'https://git.wmi.amu.edu.pl/s487187/ium_487187.git' try {
} catch (err) { git 'https://git.wmi.amu.edu.pl/s487187/ium_487187.git'
error "Failed to clone repository: ${err.message}" } catch (Exception err) {
error "Failed to clone repository: ${err.message}"
}
} }
} }
} }