Hi all,
I have bamboo build plan for library triggered when pull request is created. This build plan is used to do some automated checks for pull requests. I want to run some checks also in project, that uses this library as submodule so I need to pass branch of library (based on pull request) to dependend build plan.
IFAIK there is no possibility to pass variables to depenend plan on bamboo so I am looking for other solution. There are more libraries and one superproject so I need to share superproject buildplan between libraries. Is there a standard way how to solve this scenario? Thank you in andvance for any help.
Martin
How about adding a Script task in library build plan to send a trigger command to superproject build plan like the following example?
curl -u <username>:<password> -X POST http://localhost:8085/rest/api/latest/queue/<projectKey>-<planKey>?bamboo.variable.<variableName>=<newVariableValue>
It can be used to set custom variable value too.
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.