jenkins clone repo simpler

This commit is contained in:
Mateusz 2022-03-26 11:47:48 +01:00
parent 4bf8099c97
commit 9106d9d4ee

7
Jenkinsfile vendored
View File

@ -8,12 +8,7 @@ pipeline {
} }
stage('Checkout') { stage('Checkout') {
steps { steps {
script { git 'https://git.wmi.amu.edu.pl/s444498/ium_444498.git'
git credentialsId: 's444498', url: 'https://git.wmi.amu.edu.pl/s444498/ium_444498.git'
sh "ls -lart ./*"
sh "git branch -a"
sh "git checkout master"
}
} }
} }
} }