From db6824d19ee2386835ee53398ebdd8db081e0094 Mon Sep 17 00:00:00 2001 From: Bulat Yusupov Date: Fri, 31 Jul 2020 14:46:08 +0300 Subject: [PATCH] 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 Co-authored-by: 66632 <> --- Jenkinsfile | 2 +- kafka-ui-api/pom.xml | 2 +- kafka-ui-contract/pom.xml | 2 +- pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c1cee6a304..1e32c4eb36 100644 --- a/Jenkinsfile +++ b/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" } } diff --git a/kafka-ui-api/pom.xml b/kafka-ui-api/pom.xml index f8a20e85e2..c2d037a772 100644 --- a/kafka-ui-api/pom.xml +++ b/kafka-ui-api/pom.xml @@ -5,7 +5,7 @@ kafka-ui com.provectus - 0.0.2-SNAPSHOT + 0.0.1-SNAPSHOT 4.0.0 diff --git a/kafka-ui-contract/pom.xml b/kafka-ui-contract/pom.xml index 1969c2550e..927a9681bd 100644 --- a/kafka-ui-contract/pom.xml +++ b/kafka-ui-contract/pom.xml @@ -5,7 +5,7 @@ kafka-ui com.provectus - 0.0.2-SNAPSHOT + 0.0.1-SNAPSHOT 4.0.0 diff --git a/pom.xml b/pom.xml index ea0fa880ff..67f8d113cd 100644 --- a/pom.xml +++ b/pom.xml @@ -49,7 +49,7 @@ com.provectus kafka-ui - 0.0.2-SNAPSHOT + 0.0.1-SNAPSHOT kafka-ui Kafka metrics for UI panel