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

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

    • 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

          [JENKINS-3703] Parameterized Build: get the list of declared parameters and default values

          anb0s created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          anb0s made changes -
          Status Original: Resolved [ 5 ] New: Verified [ 10000 ]
          Richard Bywater made changes -
          Status Original: Verified [ 10000 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: parameters [ 15594 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 133776 ] New: JNJira + In-Review [ 202398 ]
          ikedam made changes -
          Link New: This issue relates to JENKINS-63786 [ JENKINS-63786 ]

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

              Created:
              Updated:
              Resolved: