Set Diamonds category to <job name>_<codeline>
authorDario Sestito <darios@symbian.org>
Fri, 11 Sep 2009 13:42:15 +0100
changeset 433 68c70e35bd42
parent 426 ecc86630e337
child 434 fca940d17a1b
Set Diamonds category to <job name>_<codeline>
common/build.xml
--- a/common/build.xml	Thu Sep 10 09:55:40 2009 +0100
+++ b/common/build.xml	Fri Sep 11 13:42:15 2009 +0100
@@ -13,7 +13,6 @@
     <property name="core.build.version" value="${sf.spec.job.codeline}"/>
     <property name="build.number" value="${sf.spec.job.number}"/>
     <property name="build.drive" value="${sf.spec.job.drive}"/>
-    <property name="build.family" value="${sf.project.type}"/>
     <property name="email.from" value="${sf.spec.email.from}"/>
     <property name="local.free.space" value="${sf.spec.job.freespace}"/>
     <property name="network.free.space" value="${sf.spec.publish.network.freespace}"/>
@@ -30,6 +29,17 @@
     <property name="ccm.user.password" value="set_to_any_value_to_skip_scm_checks__for_helium_5"/>
     
     <if>
+      <equals arg1="${sf.spec.publish.diamonds.tag}" arg2="test"/>
+      <then>
+        <property name="sf.test.tag" value=".test"/>
+      </then>
+      <else>
+        <property name="sf.test.tag" value=""/>
+      </else>
+    </if>
+    <property name="build.family" value="${sf.spec.job.name}_${sf.spec.job.codeline}${sf.test.tag}"/>
+    
+    <if>
       <isset property="sf.spec.sbs.numberofjobs"/>
       <then>
         <property name="number.of.threads" value="${sf.spec.sbs.numberofjobs}"/>