Browse Source

fixes in pipeline

Bulat Yusupov 5 years ago
parent
commit
96174e8291
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Jenkinsfile

+ 1 - 2
Jenkinsfile

@@ -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"
                     }
                     }
                 }
                 }