Michael Duez created JENKINS-13850:
--------------------------------------

             Summary: Unable to match emails for "Regular Expression Job 
Filter" on Match Value "Email recipients"
                 Key: JENKINS-13850
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13850
             Project: Jenkins
          Issue Type: Bug
          Components: view-job-filters
    Affects Versions: current
         Environment: Jenkins 1.464
View Job Filters 1.20

Other installed plugins:
javadoc 1.0
Maven Integration plugin    1.464
ant 1.1
Dashboard View  2.2
Jenkins Release Plugin  2.2
CVS Plugin  1.6
Subversion Plugin   1.34
Translation Assistance Plugin   1.8
Jenkins SSH Slaves plugin   0.21
Log Parser Plugin   1.0.8
Static Code Analysis Plug-ins   1.40
PMD Plugin  3.27
Checkstyle Plugin   3.26
FindBugs Plugin 4.39
Jenkins batch task plugin   1.16
Jenkins disk-usage plugin   0.16
JIRA Plugin 1.31
Task Scanner Plugin 4.29
Analysis Collector Plugin   1.26
            Reporter: Michael Duez
            Assignee: Jacob Robertson


1) Assigned regular expression ".*" to standard view filter "Use a regular 
expression to include jobs into the view", which caused all jobs to be listed 
in the view.
2) Added "Regular Expression Job Filter" of Match Value "Email recipients" with 
a Regular Expression of ".*com.*"
3) Set Match Type to "Exclude Unmatched - Filter out jobs that don't match this 
filter".
Result: No jobs appear in the view.   I expected all jobs to be listed (every 
job has one or more .*com.* values for email recipients).
4) Set Regular Expression to ".*", and this also resulted in no jobs listed in 
the view.

No errors have appeared in the Jenkins server.log.

Looking at a sample job config.xml file, here's the location of the email 
addresses I'm expecting the filter to match (<recipients>...</recipients>):

  <reporters>
    <hudson.maven.reporters.MavenMailer>
      <recipients>[address1@redacted].com [address2@redacted].com</recipients>
      <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
      <sendToIndividuals>false</sendToIndividuals>
      <perModuleEmail>true</perModuleEmail>
    </hudson.maven.reporters.MavenMailer>
  </reporters>

This plugin is only useful to our environment if we can match on email 
recipients (and it will be extremely valuable it it can!), thus the "Major" 
priority.

--
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