Merge pull request #2859 from status-im/bugfix/jenkinsfile-fix

fixed jenkinsfile checkout process
This commit is contained in:
Ivan Borovkov 2018-01-01 11:15:08 +02:00 committed by GitHub
commit 2f4c750d8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -18,7 +18,7 @@ node ('macos1') {
checkout scm
sh 'git checkout -- .'
sh 'git checkout develop'
sh 'git checkout ' + BRANCH_NAME
sh 'git checkout remotes/origin/' + BRANCH_NAME
sh 'rm -rf node_modules'
sh 'cp .env.jenkins .env'
@ -30,6 +30,7 @@ node ('macos1') {
sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'
sh 'cd ios && pod install && cd ..'
sh 'npm install'
}
stage('Tests') {