[jbosstools-issues] [JBoss JIRA] (JBIDE-12946) add code coverage support to jbosstools-4.0_trunk.tests; make job yellow when tests fail, not red

Mickael Istria (JIRA) jira-events at lists.jboss.org
Mon Nov 12 10:55:18 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-12946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733440#comment-12733440 ] 

Mickael Istria commented on JBIDE-12946:
----------------------------------------

REad reason why tests are missing are:
* Not all modules actually have a mvn execution
* the "-P bootstrap" profile does nothing

I think maintaining the list of repo and mvn execution in the job is complicated and ugly, that's why I'd like to suggest usage of a "Facade" repo that would make it easier to configure a "All tests" or "All build" job: https://github.com/mickaelistria/jbosstools-all


But it also appears the this all tests job is useless.

As a workaround, we can simply fix the list of mvn executions, but that's less cool than using a facade repo.
                
> add code coverage support to jbosstools-4.0_trunk.tests; make job yellow when tests fail, not red
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-12946
>                 URL: https://issues.jboss.org/browse/JBIDE-12946
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: Build/Releng, testing
>    Affects Versions: 4.0.0.Beta2
>            Reporter: Nick Boldt
>            Assignee: Mickael Istria
>             Fix For: 4.0.0.CR1
>
>
> Need your help here. 
> I've migrated https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Trunk/job/jbosstools-4.0_trunk.tests/ to use 15 git repos and run a mvn build 7 times (2 x bootstrap builds for central and birt, then 5 x single component builds).
> But I'm getting this error:
> {code}
> [WARNING] The requested profile "coverage" could not be activated because it does not exist.
> [WARNING] The requested profile "local.requirements" could not be activated because it does not exist.
> {code}
> Can you work your magic to enable code coverage for this job?
> Also, can you enable the "test failures are yellow, not red" stuff you did for the other component jobs? That way we can get results for ALL the mvn runs when hibernate's tests fail, rather than the job crapping out on the first failed test.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list