-
Bug
-
Resolution: Unresolved
-
Minor
-
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