Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

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
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

180 views 0 4
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