File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,9 @@ pipeline {
156
156
BUILD_DOCKER = 'build_docker_with_build_number_tag'
157
157
}
158
158
def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: "manifests/${INPUT_MANIFEST}"))
159
- env.version = inputManifestObj.build.version
159
+ def version = inputManifestObj.build.version
160
+ def qualifier = inputManifestObj.build.qualifier ? '-' + inputManifestObj.build.qualifier : ''
161
+ env.revision = version + qualifier
160
162
}
161
163
}
162
164
}
@@ -963,7 +965,7 @@ pipeline {
963
965
node(AGENT_LINUX_X64) {
964
966
script {
965
967
if (params.RC_NUMBER.toInteger() > 0) {
966
- triggerDistributionValidationWorkflow(env.version )
968
+ triggerDistributionValidationWorkflow(env.revision )
967
969
}
968
970
postCleanup()
969
971
}
Original file line number Diff line number Diff line change @@ -163,7 +163,9 @@ pipeline {
163
163
BUILD_DOCKER = 'build_docker_with_build_number_tag'
164
164
}
165
165
def inputManifestObj = lib.jenkins.InputManifest.new(readYaml(file: "manifests/${INPUT_MANIFEST}"))
166
- env.version = inputManifestObj.build.version
166
+ def version = inputManifestObj.build.version
167
+ def qualifier = inputManifestObj.build.qualifier ? '-' + inputManifestObj.build.qualifier : ''
168
+ env.revision = version + qualifier
167
169
}
168
170
}
169
171
}
@@ -970,7 +972,7 @@ pipeline {
970
972
node(AGENT_LINUX_X64) {
971
973
script {
972
974
if (params.RC_NUMBER.toInteger() > 0) {
973
- triggerDistributionValidationWorkflow(env.version )
975
+ triggerDistributionValidationWorkflow(env.revision )
974
976
}
975
977
postCleanup()
976
978
}
You can’t perform that action at this time.
0 commit comments