How can I get the username of the person who triggered a build in Bamboo? -
i trying integrate atlassian bamboo cloudformation template creates , deploys environments in aws. 1 of tags add vpcs , ec2 instances name of engineer triggered build.
i can't find bamboo variable contains name of user triggered build. found 1 has username of person created release in jira, isn't want.
https://confluence.atlassian.com/display/bamboo/bamboo+variables
is there way variable?
you looking manualbuildtriggerreason.username
, name of person manually triggered build if off trigger not present.
for name of person didn't trigger build manually did through source code commit be:
git log <commitfrom>..<committo> --format="%an <%ae>" --reverse
and use repository.revision.number
current revision , repository.previous.revision.number
previous revision.
Comments
Post a Comment