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: 

sourcing environment in bamboo task?

Keyhan Hadjari
September 9, 2012

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
James Dumay
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 6, 2012

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.

TAGS
AUG Leaders

Atlassian Community Events