Our team recently jumped up to Bitbucket Premium in the hope that we could use Dynamic Pipelines to make it easier to track deployments to our many environments, without having to modify our YAML file each time we add or remove one.
We understand that there are two different executions for the dynamic pipeline module and have the first one working as we expect where we can add a new pipeline named after each environment (based on what we've defined in the repository settings). However, this all falls apart when the second execution scenario (triggered manually) occurs as we no longer have access to the original full pipelines configuration, that we base the dynamically generates ones off.
Our alternative solution was to use the dropdown feature of pipelines (allowed-values) to list out target environments (which we worked out how to do dynamically based on an API call to the environments endpoint). This again was working for the first execution scenario, but when triggered manually, we've found no method of gaining access to which item the user picked when triggering the pipeline. Meaning that we can't dynamically replace the `deployment` value.
TLDR;
We need either:
* A way to access the values entered on a manually triggered pipeline so we can respond to those choices.
* Or a way to access the original pipelines configuration during the manual triggered execution.
Hi David,
any solution to access a value manually entered for a triggered pipline, in order to modify the original pipeline with ?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.