Currently in bamboo each stage runs in a seperate working directory.
for example if we set
buildWorkingDirectory = /home/supund/abc
inside the buildWorkingDirectory, it creates seperate directory for each stage as follows
<buildWorkingDirectory>/"<PROJECT_KEY>_<PLAN_KEY>_<STAGE_KEY>"
This is a bit tricky if we want two stages to run in the same directory.
We are having a pre-built system that builds and deploys all the components that we need, in single commands.
The issue being that this is already included in to git so when the code gets checked out, the script lies in the source directory. After building the components we use the same tool to deploy the test binaries to a test environment where we run seperate test suits.
The issue is that since the script is in the Checkout stage directory, we cannot have a seperate stage to spawn the test deploy since test deploy stage has a different build-working-dir.
If we can override the limitation of having seperate build-working-dir for each stage it becomes much easier. This is one of our concerns of 'build-working-dir' not being able to configure.
Is there a workaround for this ??