Reuse GitHub branch job's credentials for fetching shared library

XMLWordPrintable

      Let's say I have 2 private GitHub repositories, both requiring the same credentials for access. If Jenkins is already building one of the repositories (e.g. with GitHub Branch Source Plugin), it would be very convenient if @Library('github.com/owner/other-repo) _ would just work for fetching shared code from the other repository.

            Assignee:
            Unassigned
            Reporter:
            Deiwin Sarjas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: