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

Configuration as Code support #87

Merged
merged 3 commits into from
Jul 1, 2020
Merged

Configuration as Code support #87

merged 3 commits into from
Jul 1, 2020

Conversation

rsandell
Copy link
Member

Added tests to verify it works.
Added Symbols to make the configuration more neat looking and readable.
Updated pom to use the current JCasC version.

@@ -114,7 +115,8 @@ public DockerTool forNode(Node node, TaskListener log) throws IOException, Inter
}
}

@Extension public static class DescriptorImpl extends ToolDescriptor<DockerTool> {
@Extension @Symbol("dockerTool")
Copy link

Choose a reason for hiding this comment

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

It was already the symbol used, so I'm not sure adding it is confusing?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just in case the algorithm for the default name changes in the future

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@alecharp alecharp left a comment

Choose a reason for hiding this comment

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

This looks great!

<workflow-cps.version>2.67</workflow-cps.version>
<workflow-support.version>3.3</workflow-support.version>
<pipeline-model-definition-version>1.3.8</pipeline-model-definition-version>
<jcasc.version>1.41</jcasc.version>
Copy link
Member

Choose a reason for hiding this comment

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

as you are using the plugin BOM (which is great!), the JCasC version is normally defined in it. Is it not?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure, a bunch of stuff isn't

Copy link
Member

Choose a reason for hiding this comment

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

it seems that you can. but it's not a blocker for me

…are.yaml


new line at end of file

Co-authored-by: Adrien Lecharpentier <[email protected]>
@rsandell rsandell merged commit 3186bed into jenkinsci:master Jul 1, 2020
@rsandell rsandell deleted the jcasc branch July 1, 2020 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants