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

Valid branch git parameter gets error as invalid when scheduled via Jenkins API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-parameter-plugin
    • None
    • Jenkins Version:2.504.3

      Git-parameterVersion444.vca_b_84d3703c2

      Valid branch git parameter gets error as invalid when job is scheduled via Jenkins API, but branch will display in Jenkins parameter view.

      Once you open the parameter view in Jenkins, then jobs scheduled via the API recognize the branch parameter. Same thing is easy to reproduce with newly created branches.

      Followed advice from https://issues.jenkins.io/browse/JENKINS-75926 to disable the validation of the value of the parameter before starting the job. 

      https://plugins.jenkins.io/git-parameter/#plugin-content-properties

       

            Unassigned Unassigned
            pwilcox666 Patty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: