I cannot the agent to recognize that /usr/bin/mvn exists. Hence my matrix says not jobs can be run. I even installed maven from a tar.gz and still bamboo gives the little red x for 'mvn exists'. What can I do to figure out what is going on?
Sorry Piotr, I misunderstood. I added _only_ /home/pstefaniak/apache-maven-2.2.1 as the path and now it seems to be running. Of course this means that maven needs an non-standard install on linux, which, I would think, should be considered a bug. Buy hey, at least I'm past this. Thanks!
I added it as an executable. But also (somewhere else) I added it by selecting from a list that showed Maven 1.x, Maven 2.x, Maven 3.x. That seemed to make no difference. I have shutdown bamboo for a bit and restarted teamcity becuase we have some builds that need building. I'll get back to bamboo it a bit. Thanks!
Ok I deleted the maven executable and the maven job step and re-added both. Don't see what I did different but the agent can now run the job. However when it does I get various errors:
1) If I give a path to mvn as /usr/bin/mvn it tries to execute /usr/bin/mvn/bin/mvn
2) If I give a path of mvn it tries to execute mvn/bin/mvn
3) If I give a path of /usr I get
xception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
at java.security.AccessController.doPrivileged(Native Method)
Could not find the main class: org.codehaus.classworlds.Launcher. Program will exit.
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot