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
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 AlvarengaAtlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
how to access the working directory when download code is written using selenium and java?
Hi , Did you found out any way of accessing working directory in java code ? using environment variables
It looks like you're new here. Sign in or register to get started.