Hi,
I am using Jira and Bitbucket cloud.
When I am running the pipeline (Test, Staging, Production), I would like to use the Jira automation and get the repository name, the build number, etc.
Which smat values should I use in order to get these values?
{{deployment.name}} - returns the build number
????? - for repository
Thanks, Yehuda
Hey @Yehuda Dembsky ,
I would recommend checking official docs related to this: Automation smart values - development
I know you can get repository names from branches but I didn't test these from deployments but I believe it's a similar thing.
Cheers,
Tobi
Thanks Tomislav Tobijas _Koios.
This smart value returns the repository
{{Branch.repository.name}}
Yehuda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The {{branch}} smart value is only available with the branch-related rule triggers.
When other triggers are used, workarounds are required, such a calling the build-tool's REST API endpoints using the Send Web Request action to access other information.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.