<filePaths>
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
<compareType>ANT</compareType>
<pattern>builds/code1/**</pattern>
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
<compareType>ANT</compareType>
<pattern>buildz/code3/</pattern>
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
</filePaths>
Yes. Using it for around twenty jobs.
You might need to read about what's called the "configure block" here.
Didn't check for that very case, but job dsl has a nice way to generate custom xml when it doesn't (yet) support a plugin or a specific plugin's use case.
I remember we indeed used the configure block for Gerrit trigger.
HTH
Cheers
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/524e67ca-72df-4485-96b6-8cac25d3b9fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.