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.
1 parent aef45ce commit c7c8e6bCopy full SHA for c7c8e6b
Jenkinsfile
@@ -308,14 +308,19 @@ pipeline {
308
anyOf {
309
branch 'develop'
310
branch 'release/latest'
311
- expression {
312
- return env.TAG_NAME && env.TAG_NAME.startsWith('v2.')
313
- }
314
}
315
316
steps {
317
script {
318
- def codename = env.TAG_NAME ? env.TAG_NAME : 'dev'
+ def codename = ''
+ if (env.VersionSuffix != null && !env.VersionSuffix.isEmpty() {
+ codename = 'dev'
+ }
319
+ else
320
+ {
321
+ codename = fullVersionNumber()
322
323
+
324
publishDockerImage('v2', codename)
325
326
0 commit comments