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

Don't provision nodes if there are no PodTemplates set to usage mode Normal #171

Merged
merged 1 commit into from Jul 12, 2017

Conversation

Projects
None yet
2 participants
@enieuw

enieuw commented Jun 29, 2017

This fixes an issue where if you only had PodTemplates defined that were set to usage mode Exclusive containers would get scheduled but Jenkins would be unable to schedule any jobs on them.

The Kubernetes plugin now returns false to canProvision() if it doesn't have any templates it can use and which can be used to schedule the requested workload.

@iocanel iocanel self-requested a review Jul 12, 2017

@iocanel

LGTM

@iocanel iocanel merged commit 2e4ed49 into jenkinsci:master Jul 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment