Git checkout change
This commit is contained in:
parent
3ade3d7ff0
commit
e01d111888
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -24,12 +24,8 @@ node {
|
|||||||
|
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']],
|
||||||
git credentialsId: 'jenkins-user-github', url: 'https://git.wmi.amu.edu.pl/s478855/ium_478855.git'
|
userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s478855/ium_478855.git']]])
|
||||||
sh "ls -lart ./*"
|
|
||||||
sh "git branch -a"
|
|
||||||
sh "git checkout master"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user