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 Alvarenga
Atlassian 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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi , Did you found out any way of accessing working directory in java code ? using environment variables
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.