I want to split my build into a Build and a Test Job. I can set working directory on script tasks so my test job runs in the build job's directory.
When I set JUnit Parser to look for custom results directory I see test results but get a failure message "Could not find test result reports in the /opt/builds/build-dir/PROJ-PLAN-TEST directory."
JUnit Parser Setting: ../PROJ-PLAN-BUILD/**/target/surefire-reports/*.xml
Has anyone done this kind of split?
Thanks
Peter
Bamboo 4.4.2 JUnit Parser bug blocks normal use of shared dependencies. For a viable multi job project one should:
Running on linux, I added a script task to copy the files
if [ -d generated ]; then rm -rf generated fi mkdir generated rsync -av target generated
I'm told this bug is fixed in 5.0.1 but upgrading bamboo is a multi-week endeavor that needs to be scheduled carefully.
The solution is to share test results artifact from "BUILD" job and depend on it in "TEST" job. This copies the results between the two jobs which would be essential if the jobs execute on different systems.
Related Link: https://confluence.atlassian.com/display/BAMBOO/Configuring+artifact+sharing+between+jobs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.