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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Specify maven executable to path in checked out repository Edited

I have a project where the maven version I'd like to use for the build is part of the project's git repository.  I'd like to define a Maven 3 executable to use the version in the checked-out repository (the one that is part of the build).

I tried to define an executable path as 

${bamboo_build_working_directory}/env/thirdparty/apache-maven-3.5.2

and

${bamboo.build.working.directory}/env/thirdparty/apache-maven-3.5.2

But it doesn't seem that the executable is being found. 

Is it possible to use Bamboo environment variables in defining an Executable?

1 answer

1 accepted

1 vote
Answer accepted

No, using variables as Executable paths is not supported.

Using relative path:

env/thirdparty/apache-maven-3.5.2

seems to work for me though, so you might want to give it a shot.

Great suggestion.  That works for me too.  Thanks for the help.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

703 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you