Phew...I couldn't fathom how your email address was magically getting
added, so hopefully that ends up being it!

slide


On Wed, Aug 28, 2013 at 11:31 AM, Eric Blom <[email protected]> wrote:

>  We've uncovered a clue. When we uncheck, "Send to Committers", I did not
> receive the email. This caused me to check the email account associated
> with the Perforce user, chip_account (a Perforce script user license),
> being used. It turns out my email as associated with that Perforce script
> user account! I've changed the email address for that Perforce account. I
> have a test job in the queue and will know in a couple hours if the problem
> is fixed.
>
>  Eric
>
>  On Aug 28, 2013, at 10:08 AM, Eric Blom <[email protected]> wrote:
>
>  I tried that and didn't get any matches other than the main config.xil
> file. I didn't search the jobs or the config-history directory because
> there are hundred of matches in there for either jobs that I'm on or the
> console logs where I was included when I feel I should not have been. For
> example
>
>  builds/50/log:Sending email to: [email protected] [email protected]
> [email protected] [email protected]
>
>  [jenkins@cs41i ~]$ pwd
> /var/lib/jenkins
> [jenkins@cs41i ~]$ grep ebx *.xml
> config.xml:    <permission>hudson.model.Hudson.Administer:ebx</permission>
> [jenkins@cs41i ~]$ ls -ld */
> drwxr-xr-x   3 jenkins jenkins  4096 Mar  4 16:35 config-history/
> drwxrwxr-x   2 jenkins jenkins  4096 Jun 16  2012 cyfiles/
> drwx------   3 jenkins jenkins  4096 Jun  8  2012 ebx_test_slave/
> drwxr-xr-x 258 jenkins jenkins  4096 Aug 23 13:55 fingerprints/
> drwxr-xr-x   3 jenkins jenkins  4096 Mar  5 14:19
> jenkins.security.RekeySecretAdminMonitor/
> drwxr-xr-x 276 jenkins jenkins 28672 Aug 26 15:26 jobs/
> drwxr-xr-x   2 jenkins jenkins  4096 Mar  5 14:26 log/
> drwxrwxr-x   4 jenkins jenkins  4096 Oct 25  2012 monitoring/
> drwxr-xr-x  52 jenkins jenkins  4096 Jun 18 11:25 plugins/
> drwx------   2 jenkins jenkins  4096 Mar  5 16:17 secrets/
> drwxr-xr-x   3 jenkins jenkins  4096 May  2  2012 tools/
> drwxr-xr-x   2 jenkins jenkins  4096 Aug 27 11:31 updates/
> drwxr-xr-x   2 jenkins jenkins  4096 Apr 26  2012 userContent/
> drwxr-xr-x 139 jenkins jenkins  4096 Aug 27 03:16 users/
> [jenkins@cs41i ~]$ grep ebx -r plugins/*
> Binary file plugins/copyartifact.jpi matches
> Binary file plugins/depgraph-view.bak matches
> Binary file plugins/git-client.jpi matches
> Binary file plugins/git.jpi matches
> Binary file plugins/groovy.bak matches
> Binary file plugins/groovy.jpi matches
> Binary file plugins/jquery.bak matches
> Binary file plugins/jquery.jpi matches
> Binary file plugins/maven-plugin/WEB-INF/lib/sisu-inject-plexus-2.3.0.jar
> matches
> Binary file plugins/sloccount.jpi matches
> [jenkins@cs41i ~]$
>
>  It does seems like there is a file some were that has my name in it when
> it shouldn't.
>
>  Eric
>
>
>  On Aug 28, 2013, at 8:39 AM, Baptiste Mathus <[email protected]> wrote:
>
>  How about just grep'ing recursively the whole ~/.jenkins directory? You
> might be able to find your username reference somewhere?
>
>
> 2013/8/28 Eric Blom <[email protected]>
>
>>  I found a Display mail notifications recipients example groovy script
>>
>> https://wiki.jenkins-ci.org/display/JENKINS/Display+mail+notifications+recipients
>>
>>  It returns
>>
>> JOB : street_fighter_register_map_xml
>> >FREESTYLE PROJECT
>> >>Publishers
>> >>> publisher : hudson.plugins.emailext.ExtendedEmailPublisher@5628fbb : 
>> >>> user1, user2, user3
>>
>>  Eric
>>
>>
>>  On Aug 28, 2013, at 8:08 AM, Eric Blom <[email protected]> wrote:
>>
>>  I'm not familiar with the scripting language. Can you give me a few
>> pointers on how to access one of the builds?
>>
>>  Eric
>>
>>
>>   On Aug 28, 2013, at 5:45 AM, Slide <[email protected]> wrote:
>>
>>  Hmmm, everything looks fine to me. I wish I had added more debug output
>> in debug mode :-)  I was hoping for a clue from the xml, but I'm not seeing
>> anything that tells me why your email address is being added. If you open
>> up the Jenkins script console and access one of the builds and check its
>> cause (AbstractBuild.getCause()), can you tell me what it says?
>>
>>
>>
>>
>> On Tue, Aug 27, 2013 at 10:08 PM, Eric Blom <[email protected]> wrote:
>>
>>>  Below are the two config files.
>>>
>>>  Job config.xml
>>>
>>>  <?xml version='1.0' encoding='UTF-8'?>
>>> <project>
>>>   <actions/>
>>>   <description>Description</description>
>>>   <displayName>Register Map XML Generation</displayName>
>>>   <logRotator>
>>>     <daysToKeep>-1</daysToKeep>
>>>     <numToKeep>-1</numToKeep>
>>>     <artifactDaysToKeep>-1</artifactDaysToKeep>
>>>     <artifactNumToKeep>-1</artifactNumToKeep>
>>>   </logRotator>
>>>   <keepDependencies>false</keepDependencies>
>>>   <properties>
>>>     <hudson.security.AuthorizationMatrixProperty>
>>> [content removed]
>>>     </hudson.security.AuthorizationMatrixProperty>
>>>     <hudson.queueSorter.PrioritySorterJobProperty>
>>>       <priority>100</priority>
>>>     </hudson.queueSorter.PrioritySorterJobProperty>
>>>     <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty/>
>>>   </properties>
>>>   <scm class="hudson.plugins.perforce.PerforceSCM">
>>> [content removed]
>>>   </scm>
>>>   <assignedNode>TVS0023.cms.cypress.com<http://tvs0023.cms.cypress.com/>
>>> </assignedNode>
>>>   <canRoam>false</canRoam>
>>>   <disabled>false</disabled>
>>>
>>> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
>>>   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
>>>   <triggers class="vector">
>>>     <hudson.triggers.SCMTrigger>
>>>       <spec>*/10 * * * *</spec>
>>>     </hudson.triggers.SCMTrigger>
>>>   </triggers>
>>>   <concurrentBuild>true</concurrentBuild>
>>>   <builders>
>>>     <hudson.tasks.Ant>
>>>       <targets>-v</targets>
>>>       <antName>Local Ant Installation For Jenkins (v1.8.3)</antName>
>>>
>>> <buildFile>pbats_projects/street_fighter/main/config_files/ant/ant-build-xls-to-xml.xml</buildFile>
>>>       <properties>pbats.release=v3.8
>>> pbats.project=street_fighter</properties>
>>>     </hudson.tasks.Ant>
>>>   </builders>
>>>   <publishers>
>>>     <hudson.tasks.ArtifactArchiver>
>>>       <artifacts>solutions/CapSense/dev/doc/IROS/*.xml</artifacts>
>>>       <latestOnly>false</latestOnly>
>>>     </hudson.tasks.ArtifactArchiver>
>>>     <hudson.plugins.emailext.ExtendedEmailPublisher>
>>>       <recipientList>dfu, udyg, sshh</recipientList>
>>>       <configuredTriggers>
>>>         <hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
>>>           <email>
>>>             <recipientList></recipientList>
>>>             <subject>$PROJECT_DEFAULT_SUBJECT</subject>
>>>             <body>$PROJECT_DEFAULT_CONTENT</body>
>>>             <sendToDevelopers>false</sendToDevelopers>
>>>             <sendToRequester>true</sendToRequester>
>>>             <includeCulprits>false</includeCulprits>
>>>             <sendToRecipientList>true</sendToRecipientList>
>>>             <attachmentsPattern></attachmentsPattern>
>>>             <attachBuildLog>false</attachBuildLog>
>>>             <compressBuildLog>false</compressBuildLog>
>>>             <replyTo></replyTo>
>>>           </email>
>>>         </hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
>>>         <hudson.plugins.emailext.plugins.trigger.FailureTrigger>
>>>           <email>
>>>             <recipientList></recipientList>
>>>             <subject>$PROJECT_DEFAULT_SUBJECT</subject>
>>>             <body>$PROJECT_DEFAULT_CONTENT</body>
>>>             <sendToDevelopers>false</sendToDevelopers>
>>>             <sendToRequester>true</sendToRequester>
>>>             <includeCulprits>false</includeCulprits>
>>>             <sendToRecipientList>true</sendToRecipientList>
>>>             <attachmentsPattern></attachmentsPattern>
>>>             <attachBuildLog>false</attachBuildLog>
>>>             <compressBuildLog>false</compressBuildLog>
>>>             <replyTo></replyTo>
>>>           </email>
>>>         </hudson.plugins.emailext.plugins.trigger.FailureTrigger>
>>>         <hudson.plugins.emailext.plugins.trigger.FixedTrigger>
>>>           <email>
>>>             <recipientList></recipientList>
>>>             <subject>$PROJECT_DEFAULT_SUBJECT</subject>
>>>             <body>$PROJECT_DEFAULT_CONTENT</body>
>>>             <sendToDevelopers>false</sendToDevelopers>
>>>             <sendToRequester>true</sendToRequester>
>>>             <includeCulprits>false</includeCulprits>
>>>             <sendToRecipientList>true</sendToRecipientList>
>>>             <attachmentsPattern></attachmentsPattern>
>>>             <attachBuildLog>false</attachBuildLog>
>>>             <compressBuildLog>false</compressBuildLog>
>>>             <replyTo></replyTo>
>>>           </email>
>>>         </hudson.plugins.emailext.plugins.trigger.FixedTrigger>
>>>       </configuredTriggers>
>>>       <contentType>default</contentType>
>>>       <defaultSubject>$DEFAULT_SUBJECT</defaultSubject>
>>>       <defaultContent>$DEFAULT_CONTENT</defaultContent>
>>>       <attachmentsPattern></attachmentsPattern>
>>>       <presendScript></presendScript>
>>>       <attachBuildLog>false</attachBuildLog>
>>>       <compressBuildLog>false</compressBuildLog>
>>>       <replyTo></replyTo>
>>>     </hudson.plugins.emailext.ExtendedEmailPublisher>
>>>   </publishers>
>>>   <buildWrappers/>
>>>
>>>  hudson.plugins.emailext.ExtendedEmailPublisher.xml
>>>
>>>  <?xml version='1.0' encoding='UTF-8'?>
>>>  <hudson.plugins.emailext.ExtendedEmailPublisherDescriptor>
>>>   <helpRedirect/>
>>>   <hudsonUrl>http://jenkins.cms.cypress.com:8081/</hudsonUrl>
>>>   <adminAddress>address not configured yet &lt;nobody&gt;</adminAddress>
>>>   <useSsl>false</useSsl>
>>>   <defaultContentType>text/html</defaultContentType>
>>>   <defaultSubject>$PROJECT_NAME - Build # $BUILD_NUMBER -
>>> $BUILD_STATUS!</defaultSubject>
>>>   <defaultBody>$PROJECT_NAME - Build # $BUILD_NUMBER -
>>> $BUILD_STATUS:&#xd;
>>> &#xd;
>>> Check console output at $BUILD_URL to view the results.</defaultBody>
>>>   <maxAttachmentSize>-1</maxAttachmentSize>
>>>   <recipientList></recipientList>
>>>   <defaultReplyTo></defaultReplyTo>
>>>   <overrideGlobalSettings>false</overrideGlobalSettings>
>>>   <precedenceBulk>false</precedenceBulk>
>>>   <debugMode>true</debugMode>
>>>   <enableSecurity>false</enableSecurity>
>>>
>>>
>>>  On Aug 27, 2013, at 9:09 PM, Slide <[email protected]> wrote:
>>>
>>>  Can you post your config.xml from one of the jobs as well as the
>>> hudson.plugins.ExtendedEmailPublisher.xml from the root of JENKINS_HOME?
>>> Remember to remove any sensitive information.
>>>
>>>
>>> On Tue, Aug 27, 2013 at 5:36 PM, Eric Blom <[email protected]> wrote:
>>>
>>>> Hello Slide,
>>>>
>>>>  I enabled debug mode for ext-email. I didn't see anything in 
>>>> http://<server>/log/all
>>>> but I do see a few more lines in the build console output. Note that I
>>>> (ebx) and not listed in the, "Enable project-based security", table for the
>>>> job so I expect I'm not considered a developer. I also did not launch the
>>>> build so I'm not the requester.
>>>>
>>>> BUILD SUCCESSFULTotal time: 11 seconds
>>>> Archiving artifacts
>>>> Checking for post-build
>>>> Performing post-build step
>>>> Checking if email needs to be generated
>>>> Email was triggered for: Success
>>>> Sending email for trigger: Success
>>>> NOT overriding default server settings, using Mailer to create session
>>>> messageContentType = text/html; charset=UTF-8
>>>> Adding recipients from recipient list
>>>> Adding developers
>>>> Sending to requester
>>>> Successfully created MimeMessage
>>>> Sending email to: [email protected] [email protected] [email protected] 
>>>> [email protected]
>>>>
>>>> Finished: SUCCESS
>>>>
>>>>
>>>>   Eric
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>  On Aug 27, 2013, at 1:09 PM, Slide <[email protected]> wrote:
>>>>
>>>>  Hmmm, that is strange. Is your account used for any SCM operations?
>>>> Also, I don't remember if 2.27 of email-ext had the debug feature in the
>>>> global config, but if so, please enable that and then send a build log. A
>>>> build log without it might be useful as well.
>>>>
>>>>  slide
>>>>
>>>>
>>>> On Tue, Aug 27, 2013 at 12:32 PM, Eric Blom <[email protected]> wrote:
>>>>
>>>>> Hello Slide,
>>>>> I wasn't sure what else to provide. Here are some additional details.
>>>>>
>>>>>  Global Config
>>>>> * Access Control, Security Realm: LDAP
>>>>> * Access Control, Authorization: Project-based Matrix Authorization
>>>>> Strategy
>>>>> * Extended E-mail Notification: all default values
>>>>> - Override Global Settings: Not checked
>>>>> - Default Recipients: blank
>>>>>
>>>>>  Example Job Configuration
>>>>> Editable Email Notification
>>>>> - Project Recipient List: I'm not listed. Three users are listed. They
>>>>> are all on the emails plus me.
>>>>> - Advanced Settings
>>>>> - No pre-send script
>>>>> - Triggers: Success, Failures, Fixed
>>>>> - Trigger Recipients: They are set the same for all triggers: Yes
>>>>> Recipient, Yes Committers,  Yes Requester, No Culprits.
>>>>>
>>>>>  Eric
>>>>>
>>>>>
>>>>>  On Aug 27, 2013, at 12:19 PM, Slide <[email protected]> wrote:
>>>>>
>>>>>  I think there needs to be some additional information from you to
>>>>> help out. What does you global config look like? How is each job setup in
>>>>> terms of recipients and so forth in email-ext?
>>>>>
>>>>>  Thanks,
>>>>>
>>>>>  slide
>>>>>
>>>>>
>>>>> On Tue, Aug 27, 2013 at 12:13 PM, Eric Blom <[email protected]> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I started a Jenkins server at our company about a year ago,
>>>>>> therefore, I'm an admin and was the first admin. I receive an email for
>>>>>> every build, but, other admins do not. I've not been able to find a
>>>>>> configuration option to stop these emails. Now that we have 30 active 
>>>>>> nodes
>>>>>> and many dozens of jobs the number of build emails from Jenkins is hard 
>>>>>> to
>>>>>> ignore. Can some tell me where in the configuration these emails are
>>>>>> controlled so that I can disable them.
>>>>>>
>>>>>> Jenkins:  v1.480.3
>>>>>> Email-ext: v 2.27.1
>>>>>>
>>>>>> Thanks,
>>>>>> Eric
>>>>>>
>>>>>> This message and any attachments may contain Cypress (or its
>>>>>> subsidiaries) confidential information. If it has been received in error,
>>>>>> please advise the sender and immediately delete this message.
>>>>>>
>>>>>> --
>>>>>> 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].
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  --
>>>>> Website: http://earl-of-code.com
>>>>>
>>>>>  --
>>>>> 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].
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>>
>>>>>  This message and any attachments may contain Cypress (or its
>>>>> subsidiaries) confidential information. If it has been received in error,
>>>>> please advise the sender and immediately delete this message.
>>>>>
>>>>>  --
>>>>> 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].
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>
>>>>
>>>>  --
>>>> Website: http://earl-of-code.com
>>>>
>>>>  --
>>>> 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].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>  This message and any attachments may contain Cypress (or its
>>>> subsidiaries) confidential information. If it has been received in error,
>>>> please advise the sender and immediately delete this message.
>>>>
>>>>  --
>>>> 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].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>>
>>>  --
>>> Website: http://earl-of-code.com
>>>
>>>  --
>>> 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].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>    This message and any attachments may contain Cypress (or its
>>> subsidiaries) confidential information. If it has been received in error,
>>> please advise the sender and immediately delete this message.
>>>
>>>  --
>>> 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].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>>  --
>> Website: http://earl-of-code.com
>>
>>  --
>> 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].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>  This message and any attachments may contain Cypress (or its
>> subsidiaries) confidential information. If it has been received in error,
>> please advise the sender and immediately delete this message.
>>
>>  --
>> 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].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>> This message and any attachments may contain Cypress (or its
>> subsidiaries) confidential information. If it has been received in error,
>> please advise the sender and immediately delete this message.
>>
>>  --
>> 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].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
>  --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>
>  --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>  This message and any attachments may contain Cypress (or its
> subsidiaries) confidential information. If it has been received in error,
> please advise the sender and immediately delete this message.
>
>  --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>  This message and any attachments may contain Cypress (or its
> subsidiaries) confidential information. If it has been received in error,
> please advise the sender and immediately delete this message.
>
> --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Website: http://earl-of-code.com

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to