Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Don't provision nodes if there are no PodTemplates set to usage mode Normal #171
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.