Do not trigger on drafts before Publish
[releng/global-jjb.git] / .jjb-test / expected-xml / gerrit-rtd-rtd-verify-master
index e102182..4760427 100644 (file)
@@ -163,7 +163,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>
@@ -239,6 +239,7 @@ fi
 git fetch origin &quot;$GERRIT_REFSPEC&quot; &amp;&amp; git checkout FETCH_HEAD
 
 echo &quot;---&gt; Generating docs&quot;
+cd &quot;$WORKSPACE&quot;
 tox -edocs
 
 echo &quot;---&gt; Archiving generated docs&quot;