I have a plan which is triggered by someone pushing a tag to the master branch. Now I want to use this plan with multiple repositories, but for certain scripts within the pipeline to work I need to know during build time which repository triggered this specific build.
When using ${bamboo.planRepository.1.name} I can only choose one of the repositories which are configured in the plan but this is static information, so it might not be the one which actually triggered the current build.
I found this but it only seems to work if you're using a repository trigger. With the tag trigger, the repository contents have not changed.
Is there any way to do this?