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

JobDSL should setup parameters from declarative pipeline and

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • job-dsl-plugin
    • None

      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.

            jamietanna Jamie Tanna
            akostadinov akostadinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: