Node parameter value can't be passed by HTTP GET

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When passing param via GET request like:
      http://localhost:8080/jenkins/job/Local/buildWithParameters?NODENAME=node1
      jenkins create default node parameter variable.

      I think that the cause is in NodeParameterDefinition class line 77:

      public ParameterValue createValue(String value)

      { return new NodeParameterValue(getName(), value, getDescription()); }

      See

      public NodeParameterValue(String name, String description, String label)

      { super(name, description, label); }

      Value and description need to be switched.

            Assignee:
            Dominik Bartholdi
            Reporter:
            Yury Mikhailenko
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: