Browse Source

Fixed ci/cd release notes (#87)

* initial commit

* added timestamps and email recipient

* Revert "added timestamps and email recipient"

This reverts commit 41085705

* added steps to Jenkins pipeline

* added steps to Jenkins pipeline

* added script for creating release notes

* fixed script for creating release notes

* fixed script for creating release notes

* Increased version

* Revert "Increased version"

This reverts commit 86949059

* added steps to Jenkins pipeline

* Increased version

* moved ci-cd from ci-cd branch to master

* Revert "Increased version"

This reverts commit 666ee948

* fixes in pipeline

* fixed version for docker

* fixed version for docker

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* added conditions to jenkinsfile

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* testing PR build

* fixed release_json.sh script

* fixed release_json.sh script

* fixed release_json.sh script

* testing PR build

* testing PR build

* testing PR build

Co-authored-by: Bulat Yusupov <byusupov@provectus.com>
Co-authored-by: 66632 <>
Bulat Yusupov 4 năm trước cách đây
mục cha
commit
db6824d19e
4 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 1 1
      Jenkinsfile
  2. 1 1
      kafka-ui-api/pom.xml
  3. 1 1
      kafka-ui-contract/pom.xml
  4. 1 1
      pom.xml

+ 1 - 1
Jenkinsfile

@@ -135,8 +135,8 @@ spec:
             steps {
                 script {
                     withCredentials([usernamePassword(credentialsId: 'github-jenkins-internal-provectus', passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USER')]) {
+                        sh "bash -x release_json.sh v$VERSION"
                         sh "git push -f --tags https://$GIT_USER:$GIT_PASSWORD@github.com/provectus/kafka-ui.git"
-                        sh "bash release_json.sh v$VERSION"
                         sh "curl -XPOST -u $GIT_USER:$GIT_PASSWORD --data @/tmp/release.json https://api.github.com/repos/provectus/kafka-ui/releases"
                     }
                 }

+ 1 - 1
kafka-ui-api/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>kafka-ui</artifactId>
         <groupId>com.provectus</groupId>
-        <version>0.0.2-SNAPSHOT</version>
+        <version>0.0.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 

+ 1 - 1
kafka-ui-contract/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>kafka-ui</artifactId>
         <groupId>com.provectus</groupId>
-        <version>0.0.2-SNAPSHOT</version>
+        <version>0.0.1-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>

+ 1 - 1
pom.xml

@@ -49,7 +49,7 @@
 
 	<groupId>com.provectus</groupId>
 	<artifactId>kafka-ui</artifactId>
-	<version>0.0.2-SNAPSHOT</version>
+	<version>0.0.1-SNAPSHOT</version>
 	<name>kafka-ui</name>
 	<description>Kafka metrics for UI panel</description>
 </project>