fix pushing for Jenkinsfile.release too
This commit is contained in:
parent
df3ec429c9
commit
79ef297bf7
|
@ -98,8 +98,15 @@ node ('macos1'){
|
|||
}
|
||||
}
|
||||
|
||||
stage('Push Build Tag') {
|
||||
sh ('git push --tags')
|
||||
stage('Push build tag') {
|
||||
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 to build. ' + env.BUILD_URL
|
||||
|
|
Loading…
Reference in New Issue