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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • github-plugin
    • None
    • Jenkins 2.233, github-plugin 1.29.5

      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.

            lanwen Kirill Merkushev
            vahalas Greg Pugh
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: