Jenknis: Fix parameterized build if rebase test fails

If it does build shouldn't exit
This commit is contained in:
Oskar Thoren 2018-01-04 23:01:01 +09:00
parent d35ba2544e
commit fa61ef8e1d
No known key found for this signature in database
GPG Key ID: 5128AB0637CD85AF
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ node ('macos1') {
sh 'git checkout ' + BRANCH_NAME
sh 'rm -rf node_modules'
sh 'test ${JENKINS_REBASE_DEVELOP} -eq 1 && git rebase origin/develop'
sh 'test ${JENKINS_REBASE_DEVELOP} -eq 1 && git rebase origin/develop || echo "Not rebasing on develop."'
// Assume all parameters are set in Jenkins 'Parameterized build'
// TODO(oskarth): Consider read/write from .env to avoid having to specify in Jenkins again