• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • git-plugin
    • None

      Since you have some logic to build the links to the commits in various web UIs, it would be nice if this was available as an ENV variable that other scripts could use.

      Namely, I'm trying to fill out the 'url' parameter in the source_commit endpoint for Pivotal Tracker. My current solution is adding an option to our script like `--browser-url http://gitlab.internal/owner/repo/commit/%s`, which is formatted with the GIT_COMMIT variable already supplied by this plugin.

          [JENKINS-21185] Add repository browser url to ENV

          I am also looking for a solution to this.

          Setting the GitLab version and URL in each project instead of Global ENV variables seems unsustainable.

          Michael Overmeyer added a comment - I am also looking for a solution to this. Setting the GitLab version and URL in each project instead of Global ENV variables seems unsustainable.

            Unassigned Unassigned
            mikewyatt Mike Wyatt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: