fix tag pusshing step to use jenkins-status-im credentials
This commit is contained in:
parent
a2810999a6
commit
68300dbc61
|
@ -83,8 +83,16 @@ node ('macos1'){
|
|||
sh ('bundle exec fastlane ios release || exit 0')
|
||||
}
|
||||
|
||||
|
||||
stage('Push build tag') {
|
||||
sh ('git push --tags')
|
||||
withCredentials([[
|
||||
$class: 'UsernamePasswordMultiBinding',
|
||||
credentialsId: 'jenkins-status-im',
|
||||
usernameVariable: 'GIT_USER',
|
||||
passwordVariable: 'GIT_PASS'
|
||||
]]) {
|
||||
sh ('git push --tags https://${GIT_USER}:${GIT_PASS}@github.com/status-im/status-react --tags')
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
slackSend color: 'bad', message: 'Release build failed uploading to iTC/Play Market. ' + env.BUILD_URL
|
||||
|
|
Loading…
Reference in New Issue