Skip to content
Permalink
Browse files

JENKINS-28374 add comment about issue

  • Loading branch information
imod committed Nov 23, 2015
1 parent e08a465 commit 2f943a16d1f55f1f6eb328a34ef348c69db3b800
@@ -230,6 +230,7 @@ public ParameterValue createValue(StaplerRequest req, JSONObject jo) {
// as JSONArray: {"name":"HOSTN","value":["master","host2"]}
// as String from script: {"name":"HOSTN","value":"master"}
final String name = jo.getString("name");
// JENKINS-28374 also respect 'labels' to allow rebuilds via rebuild plugin
final Object joValue = jo.get("value") == null ? (jo.get("labels") == null ? jo.get("label") : jo.get("labels")) : jo.get("value");

List<String> nodes = new ArrayList<String>();

0 comments on commit 2f943a1

Please sign in to comment.
You can’t perform that action at this time.