fetch changes before checking out
Web/pipeline/head This commit looks good
Details
Web/pipeline/head This commit looks good
Details
This commit is contained in:
parent
ccdf68e60a
commit
c1d01df228
|
@ -7,7 +7,8 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh '''cd /var/www/ellpeck
|
sh '''cd /var/www/ellpeck
|
||||||
git checkout ${GIT_COMMIT}'''
|
git fetch
|
||||||
|
git checkout ${GIT_COMMIT} -f'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Node') {
|
stage('Node') {
|
||||||
|
|
Loading…
Reference in New Issue