Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jackjii79 committed Feb 22, 2024
1 parent 980054b commit dc2b64d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ pipeline {
steps {
timeout(time: 30, unit: 'MINUTES') {
script {
sh "mkdir -p /tmp/.config/google-cloud-tools-java/jib && touch /tmp/.config/google-cloud-tools-java/jib/config.json", returnStatus: false
sh "mkdir -p /tmp/.config/google-cloud-tools-java/jib && touch /tmp/.config/google-cloud-tools-java/jib/config.json"
def gitCommitHash = env.GIT_COMMIT
def imageTags = isMasterBranch() || isReleaseBranch() ? "${versionText},${gitCommitHash}" : "${gitCommitHash}"
withDockerCredentials(DOCKERHUB_CREDS, "FROM_") {
Expand Down Expand Up @@ -203,7 +203,7 @@ pipeline {
steps {
timeout(time: 30, unit: 'MINUTES') {
script {
sh "mkdir -p /tmp/.config/google-cloud-tools-java/jib && touch /tmp/.config/google-cloud-tools-java/jib/config.json", returnStatus: false
sh "mkdir -p /tmp/.config/google-cloud-tools-java/jib && touch /tmp/.config/google-cloud-tools-java/jib/config.json"
def gitCommitHash = env.GIT_COMMIT
def imageTags = isMasterBranch() || isReleaseBranch() ? "${versionText},${gitCommitHash}" : "${gitCommitHash}"
withDockerCredentials(DOCKERHUB_CREDS, "FROM_") {
Expand Down Expand Up @@ -239,7 +239,7 @@ pipeline {
steps {
timeout(time: 30, unit: 'MINUTES') {
script {
sh "mkdir -p /tmp/.config/google-cloud-tools-java/jib && touch /tmp/.config/google-cloud-tools-java/jib/config.json", returnStatus: false
sh "mkdir -p /tmp/.config/google-cloud-tools-java/jib && touch /tmp/.config/google-cloud-tools-java/jib/config.json"
def gitCommitHash = env.GIT_COMMIT
def imageTags = isMasterBranch() || isReleaseBranch() ? "${versionText},${gitCommitHash}" : "${gitCommitHash}"
withDockerCredentials(DOCKERHUB_CREDS, "FROM_") {
Expand Down

0 comments on commit dc2b64d

Please sign in to comment.