xunit publisher was wrong with multiple types
xunit publisher was wrong with multiple types

When using multiple xunit publishers such as:

  publishers:
   - xunit:
	  types:
	   - phpunit:
		  pattern: 'junitphp.xml'
	   - cppunit:
		  pattern: 'cppunit.log'

the publisher was wrapping each framework (phpunit, cppunit in above
example) in its own <types /> which is not at all how the Jenkins plugin
does it.

Instead, this patch creates a single <types /> element and attach all
frameworks to it.

Change-Id: I6822d6355e7ba47546f6e959e3d1a160a059243b

wsoula/jenkins-job-builder,dataxu/jenkins-job-builder,CruGlobal/jenkins-job-builder,pyatil/jenkins-job-builder,waynr/jenkins-job-builder,madAndroid/jenkins-job-builder,cyberious/jenkins-job-builder,kei-yamazaki/jenkins-job-builder,JioCloud/jenkins-job-builder,carroarmato0/jenkins-job-builder,kei-yamazaki/jenkins-job-builder,JioCloud/jenkins-job-builder,phinexus/jenkins-job-builder,cyberious/jenkins-job-builder,lukas-bednar/jenkins-job-builder,sunyi00/jenkins-job-builder,puppetlabs/jenkins-job-builder,stanchan/jenkins-job-builder,klmitch/jenkins-job-builder,twc-openstack/jenkins-job-builder,joostvdg/jenkins-job-builder,varunarya10/jenkins-job-builder,twc-openstack/jenkins-job-builder,devendermishrajio/jenkins-job-builder,devendermishrajio/jenkins-job-builder,sunyi00/jenkins-job-builder,maxandersen/jenkins-job-builder,jenshnielsen/jenkins-job-builder,OSSystems/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,OSSystems/jenkins-job-builder,joostvdg/jenkins-job-builder,gregsymons/jenkins-job-builder,joostvdg/jenkins-job-builder,grdryn/jenkins-job-builder,mohitsethi/jenkins-job-builder,mjeanson/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,tya/jenkins-job-builder,gtest-org/test11,wikimedia/integration-jenkins-job-builder,gtest-org/test10,gregsymons/jenkins-job-builder,onshape/jenkins-job-builder,sunyi00/jenkins-job-builder,vredchenko/jenkins-job-builder,tamac-io/jenkins-job-builder,theforeman/jenkins-job-builder,sebbrandt87/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,pyatil/jenkins-job-builder,fuglu/jenkins-job-builder,phinexus/jenkins-job-builder,gtest-org/test15,lukas-bednar/jenkins-job-builder,sebbrandt87/jenkins-job-builder,devendermishrajio/jenkins-job-builder,maxandersen/jenkins-job-builder,rsig/jenkins-job-builder,onshape/jenkins-job-builder,stanchan/jenkins-job-builder,onshape/jenkins-job-builder,puppetlabs/jenkins-job-builder,electrical/jenkins-job-builder,OSSystems/jenkins-job-builder,grdryn/jenkins-job-builder,wsoula/jenkins-job-builder,cyberious/jenkins-job-builder,fuglu/jenkins-job-builder,gforcada/jenkins-job-builder,twc-openstack/jenkins-job-builder,gtest-org/test12,bootswithdefer/jenkins-job-builder,pyatil/jenkins-job-builder,rsig/jenkins-job-builder,linuxmaniac/jenkins-job-builder,kei-yamazaki/jenkins-job-builder,mohitsethi/jenkins-job-builder,stanchan/jenkins-job-builder,jenshnielsen/jenkins-job-builder,partkyle/jenkins-job-builder,sebbrandt87/jenkins-job-builder,grdryn/jenkins-job-builder,carroarmato0/jenkins-job-builder,electrical/jenkins-job-builder,electrical/jenkins-job-builder,CruGlobal/jenkins-job-builder,tya/jenkins-job-builder,joostvdg/jenkins-job-builder,rsig/jenkins-job-builder,vredchenko/jenkins-job-builder,kpiwko/jenkins-job-builder,varunarya10/jenkins-job-builder,carroarmato0/jenkins-job-builder,klmitch/jenkins-job-builder,blaffoy/jenkins-job-builder,phinexus/jenkins-job-builder,dataxu/jenkins-job-builder,gregsymons/jenkins-job-builder,david-caro/jenkins-job-builder,linuxmaniac/jenkins-job-builder,madAndroid/jenkins-job-builder,tya/jenkins-job-builder,hrubi/jenkins-job-builder,hrubi/jenkins-job-builder,gtest-org/test13,michalvanco/jenkins-job-builder,onshape/jenkins-job-builder,gforcada/jenkins-job-builder,bootswithdefer/jenkins-job-builder,blaffoy/jenkins-job-builder,linuxmaniac/jenkins-job-builder,theforeman/jenkins-job-builder,CruGlobal/jenkins-job-builder,mjeanson/jenkins-job-builder,GoodgameStudios/jenkins-job-builder,klmitch/jenkins-job-builder,david-caro/jenkins-job-builder,simzacks/jjb,ehoule/jenkins-job-builder,mohitsethi/jenkins-job-builder,klmitch/jenkins-job-builder,puppetlabs/jenkins-job-builder,vredchenko/jenkins-job-builder,dataxu/jenkins-job-builder,pyatil/jenkins-job-builder,theforeman/jenkins-job-builder,theforeman/jenkins-job-builder,simzacks/jjb,wikimedia/integration-jenkins-job-builder,madAndroid/jenkins-job-builder,partkyle/jenkins-job-builder,phinexus/jenkins-job-builder,wsoula/jenkins-job-builder,fuglu/jenkins-job-builder,tamac-io/jenkins-job-builder,lukas-bednar/jenkins-job-builder,varunarya10/jenkins-job-builder,puppetlabs/jenkins-job-builder,therootcause/jenkins-job-builder,wsoula/jenkins-job-builder,lukas-bednar/jenkins-job-builder,michalvanco/jenkins-job-builder,mjeanson/jenkins-job-builder,tamac-io/jenkins-job-builder,jenshnielsen/jenkins-job-builder,linuxmaniac/jenkins-job-builder,GoodgameStudios/jenkins-job-builder,OSSystems/jenkins-job-builder,dataxu/jenkins-job-builder,therootcause/jenkins-job-builder,tamac-io/jenkins-job-builder,gforcada/jenkins-job-builder,rsig/jenkins-job-builder,gforcada/jenkins-job-builder,simzacks/jjb,phinexus/jenkins-job-builder,GoodgameStudios/jenkins-job-builder,david-caro/jenkins-job-builder,gforcada/jenkins-job-builder,twc-openstack/jenkins-job-builder,david-caro/jenkins-job-builder,gtest-org/test14,partkyle/jenkins-job-builder,mjeanson/jenkins-job-builder,simzacks/jjb,waynr/jenkins-job-builder,kpiwko/jenkins-job-builder