|
@@ -55,7 +55,6 @@ spec:
|
|
stages {
|
|
stages {
|
|
stage('Checkout release branch') {
|
|
stage('Checkout release branch') {
|
|
steps {
|
|
steps {
|
|
- git credentialsId: 'github-jenkins-internal-provectus', url: 'https://github.com/provectus/kafka-ui.git'
|
|
|
|
sh 'git checkout -b release'
|
|
sh 'git checkout -b release'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -145,7 +144,7 @@ spec:
|
|
script {
|
|
script {
|
|
withCredentials([usernamePassword(credentialsId: 'github-jenkins-internal-provectus', passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USER')]) {
|
|
withCredentials([usernamePassword(credentialsId: 'github-jenkins-internal-provectus', passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USER')]) {
|
|
sh "git add ."
|
|
sh "git add ."
|
|
- sh "git -c user.name=\"$GIT_USER\" -c user.email=\"\" commit -m \"Increased version\""
|
|
|
|
|
|
+ sh "git -c user.name=\"$GIT_USER\" -c user.email=\"\" commit -m \"Increased version in pom.xml\""
|
|
sh "git push https://$GIT_USER:$GIT_PASSWORD@github.com/provectus/kafka-ui.git HEAD:master"
|
|
sh "git push https://$GIT_USER:$GIT_PASSWORD@github.com/provectus/kafka-ui.git HEAD:master"
|
|
}
|
|
}
|
|
}
|
|
}
|