Commit messages

Issue #9 resolved
David Vannucci created an issue

As a user of the plugin, I would like to be able to include git commit messages, so that I can see the reason for the change to the repository. In https://confluence.atlassian.com/display/STASH/POST+service+webhook+for+Stash "changesets":{ ... "values":[ { ... "toCommit":{ ... "message":"Updating poms ...", ... might provide this info, which could be accessed by a possible ${refChange.reason}

Comments (7)

  1. Alexander Renteln

    Hi @Isanderthul, thank you very much for your idea. The commit message(s) might be very long - so for a http get request it might not be a good idea. But for a http post it might be ok. This issue is related to #7.

    I will look into it :-)

  2. Alexander Renteln

    Hi @Isanderthul ,

    I'm currently working on the POST stuff.. .I had a solution, but didn't like it but I already rewrote the whole thing and will do some more testing this weekend. Afterwards, I will come back to your request and look into the commit messages :-)

    Cheers, Alex

  3. Alexander Renteln

    ah, sorry... didn't get to much the last months. PRs are welcome, btw :-) But anyway, I'll see what I can do and hopefully I will get to it soon...

  4. Alexander Renteln

    With 4.3.0 the following variable was introduced: ${refChange.latest.message}

    Hope that helps...

  5. Log in to comment