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

bamboo job on docker

samirullah osmani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 2, 2020

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