Gerrit Trigger starts build when I push new change to "library" project,
but doesn't start when change is for "application" project.

And they both are listed in dynamic configuration at
http://localhost/jenkins_trigger.txt:
    p=library
    b^**
    p=application
    b^**

Here part of config.xml of my Jenkins Job:
  
 com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger
plugin="[email protected]">
    <spec></spec>
    <gerritProjects>
      
 
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.GerritProject>
        <compareType>PLAIN</compareType>
        <pattern>library</pattern>
        <branches>
      
 <com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch>
        <compareType>ANT</compareType>
        <pattern>**</pattern>
      
 </com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch>
        </branches>
      
 
<disableStrictForbiddenFileVerification>false</disableStrictForbiddenFileVerification>
      
 
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.GerritProject>
    </gerritProjects>
    <skipVote>
        <onSuccessful>false</onSuccessful>
        <onFailed>false</onFailed>
        <onUnstable>false</onUnstable>
        <onNotBuilt>false</onNotBuilt>
    </skipVote>
    <silentMode>false</silentMode>
    <notificationLevel></notificationLevel>
    <silentStartMode>false</silentStartMode>
    <escapeQuotes>true</escapeQuotes>
    <nameAndEmailParameterMode>PLAIN</nameAndEmailParameterMode>
    <dependencyJobsNames></dependencyJobsNames>
    <commitMessageParameterMode>BASE64</commitMessageParameterMode>
    <changeSubjectParameterMode>PLAIN</changeSubjectParameterMode>
    <buildStartMessage></buildStartMessage>
    <buildFailureMessage></buildFailureMessage>
    <buildSuccessfulMessage></buildSuccessfulMessage>
    <buildUnstableMessage></buildUnstableMessage>
    <buildNotBuiltMessage></buildNotBuiltMessage>
    <buildUnsuccessfulFilepath></buildUnsuccessfulFilepath>
    <customUrl></customUrl>
    <serverName>localhost</serverName>
    <triggerOnEvents>
      
 
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginPatchsetCreatedEvent>
        <excludeDrafts>false</excludeDrafts>
        <excludeTrivialRebase>false</excludeTrivialRebase>
        <excludeNoCodeChange>false</excludeNoCodeChange>
      
 
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginPatchsetCreatedEvent>
    </triggerOnEvents>
    <dynamicTriggerConfiguration>true</dynamicTriggerConfiguration>
  
 <triggerConfigURL>http://localhost/jenkins_trigger.txt</triggerConfigURL>
    <gerritTriggerTimerTask>
        <lock/>
        <state>1</state>
        <nextExecutionTime>1458662650072</nextExecutionTime>
        <period>-30000</period>
        <job>5240</job>
    </gerritTriggerTimerTask>
    <triggerInformationAction/>
  
 </com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger>

What do I do wrongly? Is any special magic required? (I did everthing
according to manual
https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger#GerritTrigger-Dynamictriggering)

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/56F180E4.6000001%40kaa.org.ua.
For more options, visit https://groups.google.com/d/optout.

Reply via email to