jenkins clone repo simpler
This commit is contained in:
parent
4bf8099c97
commit
9106d9d4ee
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -8,12 +8,7 @@ pipeline {
|
||||
}
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
script {
|
||||
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"
|
||||
}
|
||||
git 'https://git.wmi.amu.edu.pl/s444498/ium_444498.git'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user