You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by ra...@apache.org on 2024/02/07 15:10:08 UTC
(incubator-kie-kogito-images) 03/10: Setup weekly job
This is an automated email from the ASF dual-hosted git repository.
rantunes pushed a commit to branch kie-issues_821
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git
commit 64d5329140fbc7ba0182d8cb0b4e5324802105c8
Author: Rodrigo Antunes <co...@rodrigoantunes.com.br>
AuthorDate: Tue Jan 30 11:29:52 2024 -0300
Setup weekly job
---
.ci/jenkins/Jenkinsfile.weekly.deploy | 4 ++++
.ci/jenkins/dsl/jobs.groovy | 2 ++
2 files changed, 6 insertions(+)
diff --git a/.ci/jenkins/Jenkinsfile.weekly.deploy b/.ci/jenkins/Jenkinsfile.weekly.deploy
index 1d1fcc23..84f6df59 100644
--- a/.ci/jenkins/Jenkinsfile.weekly.deploy
+++ b/.ci/jenkins/Jenkinsfile.weekly.deploy
@@ -345,6 +345,10 @@ String getQuarkusPlatformVersion() {
return params.QUARKUS_PLATFORM_VERSION
}
+String getCheckoutDatetime() {
+ return params.GIT_CHECKOUT_DATETIME
+}
+
String getProjectVersionDate() {
def projectVersionDate = (getCheckoutDatetime() =~ /(\d{4}-\d{2}-\d{2})/)[0][0]
return projectVersionDate.replace('-', '')
diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy
index 9935d3a9..f04380ca 100644
--- a/.ci/jenkins/dsl/jobs.groovy
+++ b/.ci/jenkins/dsl/jobs.groovy
@@ -372,6 +372,8 @@ void setupWeeklyDeployJob(JobType jobType) {
stringParam('IMAGE_TAG', '', 'Image tag to use to deploy images')
booleanParam('DEPLOY_WITH_LATEST_TAG', false, 'Set to true if you want the deployed images to also be with the `latest` tag')
+ stringParam('GIT_CHECKOUT_DATETIME', '', 'Git checkout date and time - (Y-m-d H:i)')
+
stringParam('KOGITO_PR_BRANCH', '', 'PR branch name')
booleanParam('SEND_NOTIFICATION', false, 'In case you want the pipeline to send a notification on CI channel for this run.')
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org