Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
JENKINS-28374 add comment about issue
- Loading branch information
|
@@ -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>(); |
|
|