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

JobDSL should setup parameters from declarative pipeline and

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When JobDSL refers to a declarative pipeline with defined parameters, the job is created (and updated) to have no parameters.

      Then users need to build once (build will fail), that will cause parameters to be setup. And only then users can run with proper parameters.

      This is confusing the users.

      In case this is too complicated, one simpler approach would be not to reset parameters when parameters are not specified in the JobDSL. In this way JobDSL update will not cause parameters reset and parameter initialization will happen once when job was created. Later updates will not confuse users.

        Attachments

          Activity

            People

            Assignee:
            daspilker Daniel Spilker
            Reporter:
            akostadinov akostadinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: