mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
recover from rebase fail to avoid manual cleanup of git dir
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
40ec6ec47e
commit
2e57b1b8cf
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -28,7 +28,13 @@ timeout(90) {
|
||||
slackSend color: 'good', message: BRANCH_NAME + '(' + env.CHANGE_BRANCH + ') build started. ' + env.BUILD_URL
|
||||
|
||||
checkout scm
|
||||
sh 'git rebase origin/develop'
|
||||
|
||||
try {
|
||||
sh 'git rebase origin/desktop'
|
||||
} catch (e) {
|
||||
sh 'git rebase --abort'
|
||||
throw e
|
||||
}
|
||||
|
||||
sh 'rm -rf node_modules'
|
||||
sh 'cp .env.jenkins .env'
|
||||
|
Loading…
x
Reference in New Issue
Block a user