Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

download location path in bamboo

vd
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2023

hi all,

As part of automation testing i need to download a pdf file generated by AUT and read its contents. While executing the testcases in bamboo where will the downloaded pdf file be available?

thanks

 

 

2 answers

1 vote
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2023

Hello @vd,

Welcome to Atlassian Community!

For every Job that Bamboo runs, their Tasks will be executed initially on the bamboo.build.working.directory root location. That location is declared as an environment variable and can be accessed by your download code. To access that variable through a bash/shell script, please use the ${bamboo_build_working_directory} format.

You can also run "pwd" command to capture the current location before downloading the PDF files.

Sincerely,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

vd
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 9, 2023

how to access the working directory when download code is written using selenium and java?

0 votes
V gopi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 31, 2023

Hi , Did you found out any way of accessing working directory in java code ? using environment variables

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events