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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,644,309
Community Members
 
Community Events
196
Community Groups

bamboo job on docker

Hi all,

I try to run bamboo build job using bamboo docker runner feature but i get this error: 

BUILD FAILURE
02-Dec-2020 11:19:00[INFO] ------------------------------------------------------------------------
02-Dec-2020 11:19:00[INFO] Total time:  09:38 min
02-Dec-2020 11:19:00[INFO] Finished at: 2020-12-02T11:19:00Z
02-Dec-2020 11:19:00[INFO] ------------------------------------------------------------------------
02-Dec-2020 11:19:00[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.9.2.1:nar-testCompile (default-nar-testCompile) on project utils: NAR: Test-Compile failed: g++ failed with return code 1 -> [Help 1]
02-Dec-2020 11:19:00[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.9.2.1:nar-testCompile (default-nar-testCompile) on project binary-channel: NAR: Test-Compile failed: g++ failed with return code 1 -> [Help 1]
02-Dec-2020 11:19:00[ERROR]
02-Dec-2020 11:19:00[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
02-Dec-2020 11:19:00[ERROR] Re-run Maven using the -X switch to enable full debug logging.
02-Dec-2020 11:19:00[ERROR]
02-Dec-2020 11:19:00[ERROR] For more information about the errors and possible solutions, please read the following articles:
02-Dec-2020 11:19:00[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
02-Dec-2020 11:19:00[ERROR]
02-Dec-2020 11:19:00[ERROR] After correcting the problems, you can resume the build with the command
02-Dec-2020 11:19:00[ERROR]   mvn <goals> -rf :utils
02-Dec-2020 11:19:05d0e3f6c2-a0c1-44e3-8a9b-cc905c9e62301343492

The same job works fine when i run the job and keep the container running by adding the script task " tail -f /dev/null before running the maven commands, then docker exec to the container from the host and run the maven command , but while running it as part of the bamboo job, it fails as above. any suggestions please ?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events