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
NaginatorPublisher: Renamed isCheckRegexp to getCheckRegexp. #27
Conversation
Would you tell me more details about the problem? (e.g. how to reproduce the problem and what happens) |
Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests. |
Sure, sorry for that short description, gonna try to clear that out.
Cause of the Problem: The option checkRegexp will not be passed to the NaginatorPublisher. Jenkins needs a public checkRegexp field or a getCheckRegexp() function in the class to do that, as we can read here since we use @DataBoundConstructor for the config passing. |
Thanks for the details. The problem caused as following ways:
I'll file this issue in JIRA. Would you see followings?
|
Thank you for opening the Bug, appreciate it.
I´m today not able to check it again in our system, but:
To be honest, the fact that the regexp check is only active on "Rerun build only for failed parts on the matrix" wasnt clear to me from the beginning, so maybe some other fix would fit more. Still my fix works for our situation (letting all child-builds retry when atleast one of them matches the regex) |
I just checked it on our system, my change truly didnt fix anything :(
Still I tried this one, it correctly reruns only the one axis. In the case the regexp does not match a single axis, all axis get rerun. |
Thanks for checking. |
Hey there, unfortunately I don´t have a JIRA account. |
OK, I'll mention you when creating pull requests for them. |
Thank you! |
I've found a problem since version 1.16
Since 1.16 the regex-Check does not work in combination with checking Matrix-Child-Builds.
As seen in https://wiki.jenkins-ci.org/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins we either need a public checkRegexp field or a getCheckRegexp() function in the NaginatorPublisher class to correctly pass the parameter from the config.jelly
I've provided a fix for that, tho I skipped the tests run using maven in this step. I would appreciate if you could turn this into the next version of the plugin to fix this problem.