Perform checkout before committing in pipeline.

This commit is contained in:
Harrison Deng 2022-05-12 13:17:55 -05:00
parent d01884c5e2
commit a0f996f3f2

1
Jenkinsfile vendored
View File

@ -25,6 +25,7 @@ pipeline {
branch '**/develop' branch '**/develop'
} }
steps { steps {
sh "git checkout origin/develop"
sh "git clean -dfX" sh "git clean -dfX"
sh "git add mods/**" sh "git add mods/**"
sh "git add config/**" sh "git add config/**"