- changed status to open
add a commit timestamp to the hook
Hi ,
Is it possible to add a ${refChange.timeStamp} of the last commit for the branch? We want to send this information to other system using the hook for processing the commit.
Thank you, Bharat
Comments (8)
-
-
-
assigned issue to
-
assigned issue to
-
Can you provide a timeline for the request.
-
Not making any promises... but I have a long weekend coming up... so hopefully I will get to some coding and have some results soon :-)
-
Hey, the following will be available with the next release... which I will hopefully be releasing this evening or tomorrow :-)
"refChange.latest.timeStamp.unix" -> "1495882225000" "refChange.latest.authorTimeStamp.unix" -> "1495882225000" "refChange.latest.commitTimeStamp.unix" -> "1495882225000" "refChange.latest.timeStamp.rfc" -> "Sat, 27 May 2017 12:50:25 +0200" "refChange.latest.authorTimeStamp.rfc" -> "Sat, 27 May 2017 12:50:25 +0200" "refChange.latest.commitTimeStamp.rfc" -> "Sat, 27 May 2017 12:50:25 +0200" "refChange.latest.timeStamp.iso" -> "2017-05-27T12:50:25+02:00" "refChange.latest.authorTimeStamp.iso" -> "2017-05-27T12:50:25+02:00" "refChange.latest.commitTimeStamp.iso" -> "2017-05-27T12:50:25+02:00"
Best, Alex
-
I actually had to drop the commiter timestamps as these are only available for new bitbucket server versions and I also want to support 4.0.0 still...
I updated the documentation: https://bitbucket.org/a-v-r/bitbucket-http-request-hook/wiki/How%20to%20Use%20the%20URL%20Translation
-
- changed status to resolved
resolved with version 4.3.0
-
Thanks !
- Log in to comment
sure, sounds like a good idea :-)