This is an automated email from the ASF dual-hosted git repository.
rantunes pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git
The following commit(s) were added to refs/heads/main by this push:
new 5b61f2ad [10.0.x] NO-ISSUE: Set 10.0.x-YYYYMMDD image tags on weekly
deploy job (#1783)
5b61f2ad is described below
commit 5b61f2adcf698273fe2805d1e637225c958ad9ca
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Fri Jul 19 12:01:34 2024 -0300
[10.0.x] NO-ISSUE: Set 10.0.x-YYYYMMDD image tags on weekly deploy job
(#1783)
* Set 10.0.x-YYYYMMDD image tags on weekly deploy job
* Set 10.0.x-YYYYMMDD image tags on weekly deploy job
---
.ci/jenkins/Jenkinsfile.weekly.deploy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile.weekly.deploy
b/.ci/jenkins/Jenkinsfile.weekly.deploy
index fd03c959..abf7109b 100644
--- a/.ci/jenkins/Jenkinsfile.weekly.deploy
+++ b/.ci/jenkins/Jenkinsfile.weekly.deploy
@@ -212,7 +212,7 @@ void createBuildAndTestStageClosure(String image) {
buildParams.add(string(name: 'DEPLOY_IMAGE_NAMESPACE', value:
getDeployImageNamespace()))
buildParams.add(string(name: 'DEPLOY_IMAGE_NAME_SUFFIX', value:
getDeployImageNameSuffix()))
buildParams.add(string(name: 'DEPLOY_IMAGE_TAG', value:
getDeployImageTag()))
- buildParams.add(booleanParam(name: 'DEPLOY_WITH_LATEST_TAG',
value: isDeployLatestTag()))
+ buildParams.add(booleanParam(name: 'DEPLOY_WITH_LATEST_TAG',
value: false))
def job = build(job: 'kogito-images.build-image', wait: true,
parameters: buildParams, propagate: false)
if (job.result != 'SUCCESS') {
@@ -281,7 +281,7 @@ String getDeployImageNameSuffix() {
return params.IMAGE_NAME_SUFFIX
}
String getDeployImageTag() {
- return getProjectVersion(false)
+ return getBuildBranch() + "-" + getProjectVersionDate()
}
boolean isDeployLatestTag() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]