You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can currently only use the JiraVersionParameter in non-pipeline jobs. It would be nice to also be able to use them in pipeline jobs so we can migrate old freestyle jobs to new pipeline jobs.
Just adding the @Symbol annotation to the JiraVersionParameterDefinition.DescriptorImpl class seems to do the trick.
@Symbol( "jiraReleaseVersion" )
@Extension
public static class DescriptorImpl extends ParameterDescriptor {
@Override
public String getDisplayName() {
return "Jira Release Version Parameter";
}
}
What feature do you want to see added?
We can currently only use the JiraVersionParameter in non-pipeline jobs. It would be nice to also be able to use them in pipeline jobs so we can migrate old freestyle jobs to new pipeline jobs.
Just adding the
@Symbol
annotation to theJiraVersionParameterDefinition.DescriptorImpl
class seems to do the trick.This would allow for a pipeline job like:
Upstream changes
No response
The text was updated successfully, but these errors were encountered: