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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

To use Bamboo Customized Plan variables in pom.xml

I have 3 modules in my Project and 3 testng files for which different tests should invoke. I want to choose testng_ModuleName.xml as per Bamboo variable (bamboo.module=ModuleName) value while running the customized plan in Bamboo. In pom.xml , ${bambooModule}  is used as below:


  Maven goal in Bamboo job:

test -DbambooModule=testng_${bamboo.module}.xml


It gives below error:

\bamboo-home\xml-data\build-dir\JOB1\ProjectName\testng_${bamboo.module}.xml is not a valid file


Not sure where i'm wrong. Can anyone please help.

1 answer

1 accepted

2 votes
Answer accepted
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 26, 2018

Hi @Vandana Arora,

Thank you for your inquire.

Here is an example where artifactId is receiving a Bamboo Variable

<project xmlns="" xmlns:xsi=""

Whereas in the build log you would find:

...bamboo_planRepository_name=Maven 3.x\nbamboo_buildNumber=1...

Please, notice the _ (underscore) used instead of . (dot) when calling the variable.

Kind regards,


Thanks for your Reply @rsperafico.. it worked for me now.

I have updated pom.xml as:


and the maven goal as:

 -Dbamboo_module=${bamboo.module} test

and my Build variable is :

module= some value

Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events