diff --git a/Jenkinsfile.release b/Jenkinsfile.release index ea144154e3..a1d90738a1 100644 --- a/Jenkinsfile.release +++ b/Jenkinsfile.release @@ -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