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

Additional metadata for ChangeRequestSCMHead

XMLWordPrintable

      It would be useful to extend the ChangeRequestSCMHead with some more metadata which plugins and builds can use.

      Two notable missing pieces are Labels and Draft status. Both GitHub and GitLab support these concepts on change requests.

      Adding these to scm-api initially could be followed up with implementations in github-branch-source and gitlab-branch-source.

      branch-api's BranchNameContributor is an existing place this metadata could be put to use, with new environment variables for draft status and a delimited string of applied labels.

      Other uses would likely come in the form of new plugins.

            baymac Parichay Barpanda
            stevenfoster Steven Foster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: