Perbaiki proses checkout di Jenkinsfile
- Mengganti langkah `checkout scm`
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -9,7 +9,8 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
checkout scm
|
sh "git checkout staging"
|
||||||
|
sh "git pull origin staging"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user