Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkins-controller: Set job concurrency enabled #278

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

henrirosten
Copy link
Collaborator

@henrirosten henrirosten commented Oct 23, 2024

Jenkins Job Builder sets the concurrent=false by default. We need to set it to true by default to match the Jenkins default and to allow parallel pipelines.

On pipelines that should not run in parallel, we already explicitly set the disableConcurrentBuilds() in the declarative pipeline properties.

Reference:
https://jenkins-job-builder.readthedocs.io/en/latest/definition.html

Jenkins Job Builder sets the `concurrent=false` by default. We need to
set it to `true` by default to match the Jenkins default and to allow
parallel pipelines.

On pipelines that should not run in parallel, we explicitly set the
`disableConcurrentBuilds()` in the declarative pipeline config.

Reference:
https://jenkins-job-builder.readthedocs.io/en/latest/definition.html

Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
@henrirosten henrirosten marked this pull request as ready for review October 23, 2024 11:31
@henrirosten henrirosten marked this pull request as draft October 23, 2024 11:31
@henrirosten henrirosten marked this pull request as ready for review October 23, 2024 14:06
@henrirosten henrirosten requested a review from a team October 23, 2024 14:06
@vjuntunen vjuntunen self-requested a review October 23, 2024 15:25
@henrirosten henrirosten merged commit 2d6ffbf into main Oct 24, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants