Jenknis: Fix parameterized build if rebase test fails
If it does build shouldn't exit
This commit is contained in:
parent
d35ba2544e
commit
fa61ef8e1d
|
@ -32,7 +32,7 @@ node ('macos1') {
|
||||||
sh 'git checkout ' + BRANCH_NAME
|
sh 'git checkout ' + BRANCH_NAME
|
||||||
sh 'rm -rf node_modules'
|
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'
|
// Assume all parameters are set in Jenkins 'Parameterized build'
|
||||||
// TODO(oskarth): Consider read/write from .env to avoid having to specify in Jenkins again
|
// TODO(oskarth): Consider read/write from .env to avoid having to specify in Jenkins again
|
||||||
|
|
Loading…
Reference in New Issue