I am using the Webhook plugin and am trying to reconstruct the repository and commit URLs from the JSON data posted to my configured server, but I appear to be lacking some URL components. What I'm trying to do is construct a message from the Webhook post that includes a link to both the changed repository and the specific commit (within SCM-Manager).
Specifically, I'd like to make use of paths like:
http://127.0.0.1/scm/#repositoryBrowser;AJPug8GQD2;null;null (which takes me to an SCM-Manager tab for a particular repository), and
http://127.0.0.1/scm/#changesetPanel;AJPug8GQD2;18;commit (which takes me to an SCM-Manager tab for a particular commit (commit 18 in this case)).
What I seem to be lacking is the hash-like ID/code for the repository (in this case
It would be much appreciated if either this hash could be included as a Webhook field, or better, if those two URLs could be included in their full form. So far, I'm attempting to reconstruct the URL from a known base URL, the
repository.name fields (added to the
Url Pattern), though it would be much better if the complete URLs were included as fields in the JSON data.
I'm currently using SCM-Manager
v1.48 (via Docker) and the
Thanks in advance.