Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3703

Parameterized Build: get the list of declared parameters and default values

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      I'm using "Parameterized Build"
      (http://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build) and hudson
      eclipse plugin (http://code.google.com/p/hudson-eclipse/). It would be good to
      get the list of declared parameters and default values from hudson
      (http://code.google.com/p/hudson-eclipse/issues/detail?id=31#c1).

      With URL "http://server/job/myjob/buildParameters" hudson should return simple
      page with parameters and assigned values:
      ...
      Param1=value1
      Param2=
      Param3=value3
      ...

      This page can be parsed with a script or eclipse plugin. So it is possible to
      schedule build with default parameters or changed parameters by user:
      http://server/job/myjob/buildWithParameters?Param1=value1?Param2=user_value2?Param3=user_value3

      If the build is not parametrized, hudson should return an empty page and normal
      build can be started:
      http://server/job/myjob/build

      Andre

            huybrechts huybrechts
            anb0s anb0s
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: