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:05 | d0e3f6c2-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 ?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.