Skip to content

Commit

Permalink
Merge branch 'apache_migration' into kiegroup_to_apache
Browse files Browse the repository at this point in the history
  • Loading branch information
radtriste committed Sep 13, 2023
2 parents f014925 + 3519975 commit 370e67f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,10 @@ class KogitoJobTemplate {
script.folder('pullrequest_jobs')
return script.multibranchPipelineJob("pullrequest_jobs/${Utils.getJobDisplayName(script)}-pr")?.with {
triggers {
cron('H/5 * * * *')
periodicFolderTrigger {
// The maximum amount of time since the last indexing that is allowed to elapse before an indexing is triggered.
interval('5m')
}
}
factory {
workflowBranchProjectFactory {
Expand Down
4 changes: 2 additions & 2 deletions dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/Utils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@ class Utils {
}

static String getJenkinsAgentDockerImage(def script, String imageId) {
return getBindingValue(script, 'JENKINS_AGENT_DOCKER_${imageId.toUpperCase()}_IMAGE')
return getBindingValue(script, "JENKINS_AGENT_DOCKER_${imageId.toUpperCase()}_IMAGE")
}

static String getJenkinsAgentDockerArgs(def script, String imageId) {
return getBindingValue(script, 'JENKINS_AGENT_DOCKER_${imageId.toUpperCase()}_ARGS')
return getBindingValue(script, "JENKINS_AGENT_DOCKER_${imageId.toUpperCase()}_ARGS")
}

static String getSeedJenkinsfilePath(def script, String jenkinsfileName) {
Expand Down

0 comments on commit 370e67f

Please sign in to comment.