I have defined a reusable step in my Bitbucket pipeline that runs a script for different IMAGE_NAME
values. Currently, I pass the IMAGE_NAME
one by one in the script
section for each step. Is there a way to pass all the IMAGE_NAME
values together to a single step, or iterate over them without overriding the variables
section for each step?
Current Setup:
variables
section that includes common variable
.Goal:
common variable
.Challenges:
variables
section in Bitbucket pipelines is static and cannot be dynamically overridden within a single step.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.