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') {
|
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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user