Skip to content

Commit

Permalink
rework ci #4
Browse files Browse the repository at this point in the history
  • Loading branch information
abychko committed Oct 22, 2024
1 parent 3b41ddf commit e2da9a8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .jenkins/helm-release-job.groovy
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
//
version = "8.0.39"
directory = "mysql-galera-" + version + "-" + env.RELEASENUM
tarball = directory + ".tar.gz"
//
pipeline {
agent { label 'srcbuild' }
stages {
stage ('Prepare') {
steps {
echo "Making Helm release from git:" + env.GIT_BRANCH
script{
currentBuild.description = "Branch/rev: ${GIT_BRANCH}"
version = sh(script: "grep appVersion mysql-galera/helm/Chart.yaml | awk '{print \$NF}' | sed -e 's:\"::g'",
returnStdout: true)
returnStdout: true).trim()
directory = "mysql-galera-" + version + "-" + env.RELEASENUM
tarball = directory + ".tar.gz"
}
sh """
set -x
Expand Down

0 comments on commit e2da9a8

Please sign in to comment.