I'm writing a plugin to push comments to a pull request in github.
I really don't want to reinvent anything so is there a way to determine the github api url for the project?
There could be multiple github urls defined in an installation, covering different organisations and possibly Github enterprise. I was thinking of leveraging the defined values, rather than have to duplicate config. All the config in the job I want is an option credential
Thanks