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

Allow github-plugin to configure GitHub project URL for multibranch pipelines

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: github-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.233, github-plugin 1.29.5
    • Similar Issues:

      Description

      The current github-plugin does not support configuration of the projectURLStr for a multi-branch pipeline. Standard Declarative pipelines allow configuration through the normal build options in the user interface but multibranch pipelines may only be configured through the pipeline script (in a Jenkinsfile).

      The current github-plugin does not expose the GithubProjectProperty JobPropertyDescriptor through a Symbol, and the old method of specifying a properties([$class: 'GithubProjectProperty']) as recommended by the snippet generator is not supported.

      See StackOverflow post: https://stackoverflow.com/questions/61761031/specifying-a-github-project-url-in-a-jenkins-multibranch-pipeline for a more thorough description of the problem.

        Attachments

          Activity

          Hide
          vahalas Greg Pugh added a comment -
          Show
          vahalas Greg Pugh added a comment - A fix is available:  https://github.com/jenkinsci/github-plugin/pull/233

            People

            • Assignee:
              lanwen Kirill Merkushev
              Reporter:
              vahalas Greg Pugh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: