Skip to content

Commit

Permalink
PR multibranchPipelineJob (#602)
Browse files Browse the repository at this point in the history
* PR multibranchPipelineJob

* set Jenkinsfile timeout time as int

---------

Co-authored-by: jstastny-cz <[email protected]>
  • Loading branch information
jstastny-cz and jstastny-cz authored Sep 13, 2023
1 parent 9e9df0a commit 51f4fe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ci/jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pipeline {
}
options {
timestamps()
timeout(time: '720', unit: 'MINUTES')
timeout(time: 720, unit: 'MINUTES')
}
environment {
BUILDCHAIN_PROJECT = 'kiegroup/optaplanner-quickstarts'
Expand Down
4 changes: 1 addition & 3 deletions .ci/jenkins/dsl/jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ Map getMultijobPRConfig() {
}

// Optaplanner PR checks
// Deactivated due to ghprb not available on Apache Jenkins
// TODO create PR job with branch source plugin
// KogitoJobUtils.createAllEnvironmentsPerRepoPRJobs(this) { jobFolder -> getMultijobPRConfig() }
Utils.isMainBranch(this) && KogitoJobTemplate.createPullRequestMultibranchPipelineJob(this, "${jenkins_path}/Jenkinsfile")

// Init branch
createSetupBranchJob()
Expand Down

0 comments on commit 51f4fe4

Please sign in to comment.