cjo9900 edited a comment on Bug JENKINS-15501

This is a Rebuild plugin issue, and is due to the fact that it is working with the parameter values that are attached the build. In this case it does not use the Parameter Definition, to provide the UI for these as multiple Parameter Definitions can generate the same type of Parameter Values.

In this case the solution is to add a ValidatingStringParameterValue.jelly to [1] and then handle the case in clone parameter function [2].

Note: that you should reimplement the validating behaviour using the regex stored in the parameter.

[1] https://github.com/jenkinsci/rebuild-plugin/tree/master/src/main/resources/com/sonyericsson/rebuild/RebuildAction
[2] https://github.com/jenkinsci/rebuild-plugin/blob/master/src/main/java/com/sonyericsson/rebuild/RebuildAction.java#L281

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to