Skip to content

Commit

Permalink
Update Jenkins build display name and description format for MySQL im…
Browse files Browse the repository at this point in the history
…ages
  • Loading branch information
ptankov committed Jan 31, 2025
1 parent 15c9eeb commit 0d02edb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cloud/jenkins/pso-eks.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ void prepareNode() {

if ("$IMAGE_MYSQL") {
cw = ("$CLUSTER_WIDE" == "YES") ? "CW" : "NON-CW"
currentBuild.displayName = "#" + currentBuild.number + " $PLATFORM_VER"
currentBuild.description = "$GIT_BRANCH $cw " + "$IMAGE_MYSQL".split(":")[1]
currentBuild.displayName = "#" + currentBuild.number + " $GIT_BRANCH"
currentBuild.description = "$PLATFORM_VER " + "$IMAGE_MYSQL".split(":")[1] + " $cw"
}

GIT_SHORT_COMMIT = sh(script: 'git -C source rev-parse --short HEAD', returnStdout: true).trim()
Expand Down
4 changes: 2 additions & 2 deletions cloud/jenkins/pso-gke.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ EOF

if ("$IMAGE_MYSQL") {
cw = ("$CLUSTER_WIDE" == "YES") ? "CW" : "NON-CW"
currentBuild.displayName = "#" + currentBuild.number + " $PLATFORM_VER-$GKE_RELEASE_CHANNEL"
currentBuild.description = "$GIT_BRANCH $cw " + "$IMAGE_MYSQL".split(":")[1]
currentBuild.displayName = "#" + currentBuild.number + " $GIT_BRANCH"
urrentBuild.description = "$PLATFORM_VER-$GKE_RELEASE_CHANNEL $ARCH " + "$IMAGE_MYSQL".split(":")[1] + " $cw"
}

GIT_SHORT_COMMIT = sh(script: 'git -C source rev-parse --short HEAD', returnStdout: true).trim()
Expand Down
4 changes: 2 additions & 2 deletions cloud/jenkins/pso-minikube.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ void prepareNode() {

if ("$IMAGE_MYSQL") {
cw = ("$CLUSTER_WIDE" == "YES") ? "CW" : "NON-CW"
currentBuild.displayName = "#" + currentBuild.number + " $PLATFORM_VER"
currentBuild.description = "$GIT_BRANCH $cw " + "$IMAGE_MYSQL".split(":")[1]
currentBuild.displayName = "#" + currentBuild.number + " $GIT_BRANCH"
currentBuild.description = "$PLATFORM_VER " + "$IMAGE_MYSQL".split(":")[1] + " $cw"
}

GIT_SHORT_COMMIT = sh(script: 'git -C source rev-parse --short HEAD', returnStdout: true).trim()
Expand Down

0 comments on commit 0d02edb

Please sign in to comment.