Trigger the publication of testing results to OBS.
authorIgor Stoppa <igor.stoppa@intel.com>
Mon, 16 Jun 2014 10:59:02 +0000 (13:59 +0300)
committerLin A Yang <lin.a.yang@intel.com>
Mon, 7 Jul 2014 08:58:40 +0000 (11:58 +0300)
Change-Id: Idea542208a1315bd120dc37811fcf75e3d9fea92

jobs/image-tester/config.xml

index 242aa72..d7c110c 100644 (file)
@@ -67,6 +67,21 @@ if (en["TEST_RESULT"] != "PASS")
     manager.buildFailure()</groovyScript>
       <behavior>0</behavior>
     </org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder>
+    <hudson.plugins.parameterizedtrigger.BuildTrigger plugin="parameterized-trigger@2.18">
+      <configs>
+        <hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
+          <configs>
+            <hudson.plugins.parameterizedtrigger.FileBuildParameters>
+              <propertiesFile>RESULTS-PUBLISHING.env</propertiesFile>
+              <failTriggerOnMissing>true</failTriggerOnMissing>
+            </hudson.plugins.parameterizedtrigger.FileBuildParameters>
+          </configs>
+          <projects>test-results-publisher, </projects>
+          <condition>ALWAYS</condition>
+          <triggerWithNoParameters>false</triggerWithNoParameters>
+        </hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
+      </configs>
+    </hudson.plugins.parameterizedtrigger.BuildTrigger>
   </publishers>
   <buildWrappers>
     <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.16">