When job parameters are defined in the Jenkinsfile/script, Jenkins doesn't know what parameters are required until the job is run. You see the problem? to run the job you need the parameters. To know what parameters are required to run the job.

      This is most visible with a new branch in multibranch jobs (there have been complaints).

      In scope:

      • Investigate if it is possible to know without executing what parameters will be required
      • If possible, an api to return such parameters

      This could span general pipeline script, or pipeline model.

          [JENKINS-40241] Detemine parameters before running job

          Michael Neale created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-36291 [ 172300 ]
          Michael Neale made changes -
          Description Original: When job parameters are defined in the Jenkinsfile/script, Jenkins doesn't know what parameters are required until the job is run. You see the problem? to run the job you need the parameters. To know what parameters are required to run the job.

          In scope:
          * Investigate if it is possible to know without executing what parameters will be required
          * If possible, an api to return such parameters

          This could span general pipeline script, or pipeline model.
          New: When job parameters are defined in the Jenkinsfile/script, Jenkins doesn't know what parameters are required until the job is run. You see the problem? to run the job you need the parameters. To know what parameters are required to run the job.

          This is most visible with a new branch in multibranch jobs (there have been complaints).

          In scope:
          * Investigate if it is possible to know without executing what parameters will be required
          * If possible, an api to return such parameters

          This could span general pipeline script, or pipeline model.
          Andrew Bayer made changes -
          Link New: This issue relates to JENKINS-40631 [ JENKINS-40631 ]
          James Dumay made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          James Dumay made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          James Dumay made changes -
          Sprint New: post-release [ 181 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Sprint Original: post-release [ 181 ] New: 1.1 [ 251 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]

            abayer Andrew Bayer
            michaelneale Michael Neale
            Votes:
            4 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: