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

User can't set parameters when starting newly-discovered parameterized job

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins 2.176.3 on java 1.8, gitlab-branch-source-plugin 1.4.0, gitlab 12.3.1
    • Similar Issues:

      Description

      The parameters can be set only on second (and subsequent) builds).

      Steps to reproduce :

      • have a gitlab project with a Jenkinsfile that needs parameters (see https://jenkins.io/doc/book/pipeline/jenkinsfile/#handling-parameters)
      • create a gitlab group that can scan this project (with no automatic build)
      • go to the project page in the jenkins UI : there is a link "Start a build", that does what it says, without letting the user pass any parameters

      Expected behavior : the link should be "Start a build with parameters", and should let the user give the parameters

      Workaround : start a first build, and interrupt it after the git checkout. Then the link correctly becomes "Start a build with parameters"

        Attachments

          Activity

          Hide
          baymac Parichay Barpanda added a comment -

          Are you still facing this issue Mossroy?

          Show
          baymac Parichay Barpanda added a comment - Are you still facing this issue Mossroy ?
          Hide
          mossroy Mossroy added a comment -

          Yes I am.

          Same behavior with version 1.4.4 of the plugin, and gitlab 12.6.2.

          I might try with version 1.4.6 of the plugin if you like, even if the changelog does not mention anything related.

          Show
          mossroy Mossroy added a comment - Yes I am. Same behavior with version 1.4.4 of the plugin, and gitlab 12.6.2. I might try with version 1.4.6 of the plugin if you like, even if the changelog does not mention anything related.
          Hide
          mossroy Mossroy added a comment -

          And I confirm the issue is still there with Jenkins 2.222.3 + version 1.5.1 of the plugin + gitlab 12.6.2

          Show
          mossroy Mossroy added a comment - And I confirm the issue is still there with Jenkins 2.222.3 + version 1.5.1 of the plugin + gitlab 12.6.2

            People

            • Assignee:
              baymac Parichay Barpanda
              Reporter:
              mossroy Mossroy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: