The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add argument to reusable yaml task

Deleted user
August 8, 2023

Currently testing out reusable Bamboo yaml files. My main bamboo.yml contains the following: 

Build:
tasks: !include 'jobs/run-build.yml'
variables:
user: Admin

run-build.yml contains the follow:

tasks:
-
script:
interpreter: /bin/sh
scripts:
- scripts/build.sh
variables:
user: Default

Now is it possible to pass an argument through run-build and pass that to the scripts/build.sh call?

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events