[ 
https://issues.jenkins-ci.org/browse/JENKINS-11760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Clarke updated JENKINS-11760:
-------------------------------------

       Priority: Minor  (was: Major)
    Component/s:     (was: cvs)

As this is SCM independent (a failed poll acts the same for all SCM plugins), 
I'm removing the specific tag for CVS
                
> Failed SCM poll does not notify admin/anyone of failure.
> --------------------------------------------------------
>
>                 Key: JENKINS-11760
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11760
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>         Environment: CentOS 6.0 Master OS x64 x86_64, Jenkins 1.439
>            Reporter: Sagar Khushalani
>            Priority: Minor
>
> If a particular line in the "Excluded Regions" of is a bad regex, polling 
> fails with the following. However, it does not send an email, or notify the 
> admin in any way. Would it be possible to either send an email (or otherwise 
> notify), or cause the build to fail so the admin can check on it?
> Thanks!
> {noformat}
> ERROR: Failed to record SCM polling
> java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence 
> near index 3
> .*\CVS
>    ^
>       at java.util.regex.Pattern.error(Pattern.java:1730)
>       at java.util.regex.Pattern.escape(Pattern.java:2194)
>       at java.util.regex.Pattern.atom(Pattern.java:1969)
>       at java.util.regex.Pattern.sequence(Pattern.java:1851)
>       at java.util.regex.Pattern.expr(Pattern.java:1769)
>       at java.util.regex.Pattern.compile(Pattern.java:1477)
>       at java.util.regex.Pattern.<init>(Pattern.java:1150)
>       at java.util.regex.Pattern.compile(Pattern.java:840)
>       at hudson.scm.CVSSCM.getExcludedRegionsPatterns(CVSSCM.java:316)
>       at hudson.scm.CVSSCM.compareRemoteRevisionWith(CVSSCM.java:205)
>       at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
>       at hudson.scm.SCM.poll(SCM.java:373)
>       at hudson.model.AbstractProject.poll(AbstractProject.java:1313)
>       at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
>       at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
>       at 
> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>       at java.lang.Thread.run(Thread.java:636)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to