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,359,836
Community Members
 
Community Events
168
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
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

301 views 0 7
Read article

Atlassian Community Events