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). :-)
We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...
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