fetch changes before checking out
All checks were successful
Web/pipeline/head This commit looks good
All checks were successful
Web/pipeline/head This commit looks good
This commit is contained in:
parent
ccdf68e60a
commit
c1d01df228
1 changed files with 2 additions and 1 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -7,7 +7,8 @@ pipeline {
|
|||
}
|
||||
steps {
|
||||
sh '''cd /var/www/ellpeck
|
||||
git checkout ${GIT_COMMIT}'''
|
||||
git fetch
|
||||
git checkout ${GIT_COMMIT} -f'''
|
||||
}
|
||||
}
|
||||
stage('Node') {
|
||||
|
|
Loading…
Reference in a new issue