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

External Build Properties File

DevR July 23, 2013

Hi - In my currrent build system I am using a build.properties files which is referenced by the ANT scripts. In Bamboo how I can reference this .properties file and get the variables value passed to my ANT script.

3 answers

0 votes
Daniel Wester
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.
February 24, 2014

Just pass -propertyfile build.properties as the args to the ant exeutable.

0 votes
DevR February 24, 2014

try using the "Bamboo Inject Variables plugin". Also you can explicitly mention the properties files (using -propertyfile flag) when you invoke ANT execution, that works.

0 votes
Sebastien Delcoigne
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.
February 23, 2014

I would also like to know how to achieve this (or any workaround ?)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events