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

Add environment variable containing GitHub project url

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • github-plugin
    • None

      It would be useful if it were possible to refer to the "GitHub project" string elsewhere in the job. For example the Git plugin provides a GIT_URL which can be used in scripts etc. so also having a GITHUB_URL set to https://github.com/name/project/ would be very nice.

          [JENKINS-31744] Add environment variable containing GitHub project url

          Michael added a comment -

          Is there any existing workaround to access the GitHub URL from the pipeline? This feature would be incredibly useful as is but given the lack of activity on this I have to imagine there's some kind of alternative solution I'm failing to find. 

          Michael added a comment - Is there any existing workaround to access the GitHub URL from the pipeline? This feature would be incredibly useful as is but given the lack of activity on this I have to imagine there's some kind of alternative solution I'm failing to find. 

            lanwen Kirill Merkushev
            milliams Matt Williams
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: