We have Bamboo integrated with clover. Our build has two jobs, job A and job B. Job B has the clover scan while job A does the original build and deploy. When I go to look at clover coverage, I see two jobs listed in the select box, job A which is incomplete and job B which has the clover results.
1. Is there a way to remove job A? Is there a report hidden under target I need to blast?
2. Is there a way to order job B before job A?
Is there a way to order job B before job A?
If you want to change an order in which jobs are listed on the 'Stages and Jobs' then just rename these jobs (they're sorted alphabetically).
If you want to change the build order of these jobs, so that in case when JobA fails then JobB won't be executed, then you shall put them into separate stages (note that jobs in the same stage are being executed in parallel).
I'm not sure if I reproduced exactly the same:
1. I created a plan with JobA (no clover) and JobB ('automatically integrate clover into this build' selected)
2. I ran the plan.
3. In the build summary I see two jobs listed.
JobA has a following tabs available: Job Summary, Tests, Changes, Artifacts, Logs, Clover, Metadata.
JobB has following tabs: Job Summary, Tests, Changes, Artifacts, Logs, Metadata.
So this looks fine, actually.
However, I've found a following tricky interaction:
* select JobA from a 'Stages & Jobs' list,
* select "Clover" tab for this job, Clover report is shown as expected
* select JobB, it displays a message 'No code coverage data available for this build'
A reason of this is that Bamboo tries to preserve the same active tab when switching between jobs. So URLs selected looks like this:
and as you can see the viewCloverResult action is chosen for JobB, which does not have a Clover report of course.
The open question is whether it's a bug (i.e. Bamboo shall switch to a default tab) or a feature (i.e. it shall keep the active tab, even if report is not available). :-)
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot