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

Build pipeline plugin no longer prompts for parameters of parameterised job

    XMLWordPrintable

Details

    Description

      This used to work in 1.3.3. Where if the first job or a manually triggered job that was parameterized. Is triggered then the user is prompted to specify the parameters.

      This is no longer the case, I've tested both scenario's described. Downgrading is not an option because 1.3.5 fixes an issue with the pipeline rendering.

      Attachments

        Activity

          Unfortunatly not.

          tkleiber Torsten Kleiber added a comment - Unfortunatly not.
          derekxlu DEREK LU added a comment -

          The Pipeline as code can promote for parameter value input, but it holds the executor. Our use case is to provide approval note from one stage to another, which may happen several days later.
          I have implemented a workaround in our case for now.
          Let the Manual Approving Job check a file parameter to decide to move forward or not.
          Then created another job to accept values for the parameter and save it to a file.
          In the Build pipeline, a string parameter is used to create a link to the parameter entering job, and it is displayed in the reversion box.
          the links is like
          <a onclick="buildPipeline.fillDialog('job/ParameterEntering/build?delay=0sec', 'Enter Parameters')"> Enter Parameters</a>
          This will popup the job in a lightbox within the build pipeline.
          It is complicated and just a workaround. We really hope if this issue can get fixed soon.

          derekxlu DEREK LU added a comment - The Pipeline as code can promote for parameter value input, but it holds the executor. Our use case is to provide approval note from one stage to another, which may happen several days later. I have implemented a workaround in our case for now. Let the Manual Approving Job check a file parameter to decide to move forward or not. Then created another job to accept values for the parameter and save it to a file. In the Build pipeline, a string parameter is used to create a link to the parameter entering job, and it is displayed in the reversion box. the links is like <a onclick="buildPipeline.fillDialog('job/ParameterEntering/build?delay=0sec', 'Enter Parameters')"> Enter Parameters</a> This will popup the job in a lightbox within the build pipeline. It is complicated and just a workaround. We really hope if this issue can get fixed soon.
          derekxlu DEREK LU added a comment -

          I made some change in my local as a customized workaround.
          Also I created a poll request "Provide an ability to enter build notes/parameters for a Manual step in the pipeline"
          https://github.com/geoffbullen/build-pipeline-plugin/pull/4
          Hope it can be developed and included in a formal release.

          derekxlu DEREK LU added a comment - I made some change in my local as a customized workaround. Also I created a poll request "Provide an ability to enter build notes/parameters for a Manual step in the pipeline" https://github.com/geoffbullen/build-pipeline-plugin/pull/4 Hope it can be developed and included in a formal release.
          naicigam Juan Alvarez added a comment -

          Same here with Jenkins 2.7.2 and Build Pipeline Plugin 1.5.4.

          naicigam Juan Alvarez added a comment - Same here with Jenkins 2.7.2 and Build Pipeline Plugin 1.5.4.

          Same here with Jenkins 2.150.2 and Build Pipeline 1.5.8

          shallyburto Stephen Hallyburton added a comment - Same here with Jenkins 2.150.2 and Build Pipeline 1.5.8

          People

            jeffastorey Jeff Storey
            fpanwaskar Feroz Panwaskar
            Votes:
            45 Vote for this issue
            Watchers:
            45 Start watching this issue

            Dates

              Created:
              Updated: