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

Allow customization of NodeProvisioner.PlannedNode using extension point #298

Merged
merged 2 commits into from
Mar 21, 2018

Conversation

Vlatombe
Copy link
Member

  • New extension point PlannedNodeBuilderFactory to allow extensions to provide alternative PlannedNode implementations.
  • Builder pattern for KubernetesSlave to stop the explosion of constructors

* New extension point PlannedNodeBuilderFactory to allow extensions to provide alternative PlannedNode implementations.
* Builder pattern for KubernetesSlave to stop the explosion of constructors
@Vlatombe Vlatombe requested a review from carlossg March 21, 2018 10:01

public ProvisioningCallback(@Nonnull KubernetesCloud cloud, @Nonnull PodTemplate t, @CheckForNull Label label) {
public ProvisioningCallback(@Nonnull KubernetesCloud cloud, @Nonnull PodTemplate t) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

api breakage

@carlossg carlossg changed the title Refactoring on PlannedNode and KubernetesSlave to improve extensibility Allow customization of NodeProvisioner.PlannedNode using extension point Mar 21, 2018
@carlossg carlossg merged commit 2cbbd30 into jenkinsci:master Mar 21, 2018
@Vlatombe Vlatombe deleted the planned_node_builder branch March 21, 2018 13:34
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.

2 participants