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

0 votes
Answer accepted
James Dumay
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events