I've attached a fairly heavily scrubbed config.xml. Notice the

<hudson.scm.ExcludedRegion>
            <pattern>^[^/]*\.m$</pattern>
          </hudson.scm.ExcludedRegion>


With that config.xml, when I made a commit of

  • NotExcluded/file1.m
  • NotExcluded/file2.m

no build happened, and the CVS polling log read

...
cvs rlog: Logging ADDITIONAL/PATH/EXCLUDED1
cvs rlog: Logging ADDITIONAL/PATH/EXCLUDED1/subdir
...
cvs rlog: Logging ADDITIONAL/PATH/NotExcluded
...
Done. Took 3.3 sec
No changes

I don't know enough about the plugin to know if the EXCLUDED paths should even be checked and included in the polling log. But that it is included seems consistent with my claim that only file basenames, and not full paths, are being checked. My claim is also consistent with the lack of a build, since "file1.m" matches "^[^/]*\.m$" even though "NotExcluded/file1.m" does not.

Thanks.

Change By: Jeremy Michelson (20/Mar/13 4:41 PM)
Attachment: config.xml
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to