File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ node ('macos1') {
17
17
18
18
git([url : ' https://github.com/status-im/status-react.git' , branch : BRANCH_NAME ])
19
19
20
+ sh ' git checkout -- .'
21
+ sh ' git checkout develop'
20
22
sh ' git checkout ' + BRANCH_NAME
21
23
sh ' rm -rf node_modules'
22
24
sh ' cp .env.jenkins .env'
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ node ('macos1'){
19
19
git([url: 'https://github.com/status-im/status-react.git', branch: 'develop'])
20
20
// Checkout master because used for iOS Plist version information
21
21
sh 'git fetch --tags'
22
- sh 'git checkout ' + 'develop'
22
+ sh 'git checkout -- .'
23
+ sh 'git checkout develop'
23
24
sh 'rm -rf node_modules'
24
25
sh 'cp .env.jenkins .env'
25
26
sh 'lein deps && npm install && ./re-natal deps'
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ node ('macos1') {
16
16
git([url: 'https://github.com/' + REPO + '/status-react.git', branch: BRANCH_NAME])
17
17
// Checkout master because used for iOS Plist version information
18
18
sh 'git checkout -- .'
19
- sh 'git checkout master '
19
+ sh 'git checkout develop '
20
20
sh 'git checkout ' + BRANCH_NAME
21
21
sh 'rm -rf node_modules'
22
22
@@ -109,4 +109,4 @@ node ('macos1') {
109
109
slackSend color: 'bad', message: REPO + ":" + BRANCH_NAME + ' failed to build. ' + env.BUILD_URL
110
110
throw e
111
111
}
112
- }
112
+ }
You can’t perform that action at this time.
0 commit comments