Browse Source

fetch changes before checking out

master
Ellpeck 4 months ago
parent
commit
c1d01df228
  1. 3
      Jenkinsfile

3
Jenkinsfile

@ -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…
Cancel
Save