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-58051] Hook for plugins not using standard tags #159

Merged
merged 5 commits into from
Jun 19, 2019

Conversation

raul-arabaolaza
Copy link
Contributor

JENKINS-58051 This PR introduces a hook that can be extended trivially by plugins not following the standard tag conventions in Jenkins to make the PCT able to checkout them from Github

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

we had a chat converstation with @raul-arabaolaza , and the agreement was that there would be integration tests for this PR. Requesting changes just to reflect this agreement

Thanks for the PR in any case, it should be really helpful for some releases

@raul-arabaolaza
Copy link
Contributor Author

@oleg-nenashev @batmat added Unit and IT tests

@raul-arabaolaza
Copy link
Contributor Author

Legitimate test failure in windows, fixing it.

@raul-arabaolaza
Copy link
Contributor Author

And fixed and ready for review

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

Looks good to me, and thanks for the test!

@oleg-nenashev oleg-nenashev merged commit b1696a4 into jenkinsci:master Jun 19, 2019
@raul-arabaolaza raul-arabaolaza deleted the JENKINS-58051 branch June 20, 2019 07:28
Copy link

@MRamonLeon MRamonLeon left a comment

Choose a reason for hiding this comment

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

Maybe the maximumVersion is also or even more interesting, WDYT @raul-arabaolaza ?

@@ -0,0 +1,2 @@
electricflow=cloudbees-flow-%s
electricflow-minimumVersion=1.1.8

Choose a reason for hiding this comment

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

Is not more interesting to have the maximunVersion? If a plugin changes, it is to become compliant with the rules, so the latest versions most likely, don't need the hook anymore. Or maybe both properties. WDYT?

BTW: I was working in exactly the same hook but specifically in a job on our CI, so 💯

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.

4 participants