Skip to content

Commit

Permalink
Specify trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
jstastny-cz committed Sep 12, 2023
1 parent f3404df commit 51809af
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,9 @@ class KogitoJobTemplate {
static def createPullRequestMultibranchPipelineJob(def script, String jenkinsFilePath = '.ci/jenkins/Jenkinsfile') {
script.folder("pullrequest_jobs")
return script.multibranchPipelineJob("pullrequest_jobs/${Utils.getRepoName(script)}-pr")?.with {
triggers {
cron("*/5 * * * *")
}
factory {
workflowBranchProjectFactory {
scriptPath("${jenkinsFilePath}")
Expand Down

0 comments on commit 51809af

Please sign in to comment.