Skip to content

Commit

Permalink
JENKINS-41091: git-parameter:0.7.1 breaks the multi-line parameters i…
Browse files Browse the repository at this point in the history
…n rebuild
  • Loading branch information
klimas7 committed Jan 19, 2017
1 parent 4af4453 commit a4c768d
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -10,6 +10,9 @@ public class GitParameterRebuild extends RebuildParameterProvider {

@Override
public RebuildParameterPage getRebuildPage(ParameterValue parameterValue) {
return new RebuildParameterPage(GitParameterValue.class,"value.jelly");
if (parameterValue instanceof GitParameterValue) {
return new RebuildParameterPage(parameterValue.getClass(),"value.jelly");
}
return null;
}
}

0 comments on commit a4c768d

Please sign in to comment.