Do not trigger on drafts before Publish
[releng/global-jjb.git] / .jjb-test / expected-xml / gerrit-ciman-jjb-verify
index 9d55382..b59d3c6 100644 (file)
@@ -172,7 +172,7 @@ For example '<1.0.0' or '>=1.0.0,<2.0.0'.
       <allowTriggeringUnreviewedPatches>false</allowTriggeringUnreviewedPatches>
       <triggerOnEvents>
         <com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginPatchsetCreatedEvent>
-          <excludeDrafts>false</excludeDrafts>
+          <excludeDrafts>true</excludeDrafts>
           <excludeTrivialRebase>false</excludeTrivialRebase>
           <excludeNoCodeChange>false</excludeNoCodeChange>
         </com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginPatchsetCreatedEvent>
@@ -275,7 +275,7 @@ echo &quot;---&gt; jjb-verify-job.sh&quot;
 # Ensure we fail the job if any steps fail.
 set -eu -o pipefail
 
-jenkins-jobs -l DEBUG test --recursive -o archives/job-configs --exclude jjb-test jjb
+jenkins-jobs -l DEBUG test --recursive -o archives/job-configs jjb/
 
 # Sort job output into sub-directories. On large Jenkins systems that have
 # many jobs archiving so many files into the same directory makes NGINX return