Merge pull request #2859 from status-im/bugfix/jenkinsfile-fix
fixed jenkinsfile checkout process
This commit is contained in:
commit
2f4c750d8a
|
@ -18,7 +18,7 @@ node ('macos1') {
|
||||||
checkout scm
|
checkout scm
|
||||||
sh 'git checkout -- .'
|
sh 'git checkout -- .'
|
||||||
sh 'git checkout develop'
|
sh 'git checkout develop'
|
||||||
sh 'git checkout ' + BRANCH_NAME
|
sh 'git checkout remotes/origin/' + BRANCH_NAME
|
||||||
|
|
||||||
sh 'rm -rf node_modules'
|
sh 'rm -rf node_modules'
|
||||||
sh 'cp .env.jenkins .env'
|
sh 'cp .env.jenkins .env'
|
||||||
|
@ -30,6 +30,7 @@ node ('macos1') {
|
||||||
|
|
||||||
sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'
|
sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'
|
||||||
sh 'cd ios && pod install && cd ..'
|
sh 'cd ios && pod install && cd ..'
|
||||||
|
sh 'npm install'
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Tests') {
|
stage('Tests') {
|
||||||
|
|
Loading…
Reference in New Issue