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

Add Description field to the "list git branches" object

      It would be very nice to have a description field for this object - I would like to add some descriptive text to indicate what purpose the branch selection will be used for in the jenkins job - in my case, I want to note that the selected branch is used as the source of the Jenkins pipeline file, which is separate from the branch to be checked out and built by the job.

          [JENKINS-70377] Add Description field to the "list git branches" object

          Robin Fauvel added a comment - - edited

          Hi joel_mcmonagle, I believe there is already such a field, called description.

          If you have a look at the documentation, you will see that the class ListGitBranchesParameterDefinition expects a description argument in its constructor signature and extends the class hudson.model.ParameterDefinition.

          Or have I misunderstood your request and are you looking for something else?

          Robin Fauvel added a comment - - edited Hi joel_mcmonagle , I believe there is already such a field, called description . If you have a look at the documentation, you will see that the class ListGitBranchesParameterDefinition expects a description argument in its constructor signature and extends the class hudson.model.ParameterDefinition . Or have I misunderstood your request and are you looking for something else?

            huangsuoyuan huang suoyuan
            joel_mcmonagle Joel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: