We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89b0db7 + 3c27cf6 commit 40e344fCopy full SHA for 40e344f
Jenkinsfile
@@ -20,7 +20,8 @@ node {
20
sh "docker buildx use builder"
21
sh "docker buildx build --push --tag ${repoUrlPrefix}/${imageName}:${gitBranch} --platform linux/amd64,linux/arm64 ."
22
}
23
-/*
+
24
+ if (env.BRANCH_NAME ==~ /(latest)/) {
25
stage('checkout to version branch'){
26
withCredentials([sshUserPrivateKey(keyFileVariable:'check',credentialsId: 'main-github')]) {
27
sh "git reset --hard origin/latest"
@@ -35,7 +36,8 @@ node {
35
36
withCredentials([string(credentialsId: 'gh_token', variable: 'GH_TOKEN')]) {
37
sh "gh release create ${versionTag} --generate-notes"
38
- }*/
39
+ }
40
41
42
notifySuccessful()
43
0 commit comments