sourcing environment in bamboo task?

I am a newbie using bamboo, I want to create a scenario like this:

1. Source a schell scripts to setup environment paths and generate tools

2. Used the generated tools and paths created in step 1. to run a command.

Since each task is run in a seperate shell seems like, step 2 is unaware of step one so its environment is clean from generated tools and environment variables in steup 1. So how do I do this?

thanks in advance.

1 answer

1 accepted

0 votes
Accepted answer

There isn't any way to source the environment so that all tasks use the sourced environment right now unless you call all your build commands within the one script task.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

175 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you