[JIRA] [p4-plugin] (JENKINS-32879) Integration with mailer plugin is broken
Title: Message Title Alexey Sergin closed an issue as Fixed Jenkins / JENKINS-32879 Integration with mailer plugin is broken Change By: Alexey Sergin Status: Open Closed Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [p4-plugin] (JENKINS-32879) Integration with mailer plugin is broken
Title: Message Title Alexey Sergin commented on JENKINS-32879 Re: Integration with mailer plugin is broken I have tried P4 Plugin version 1.3.8 , the problem seems to be fixed. Paul Allen, thank you! Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [p4-plugin] (JENKINS-32879) Integration with mailer plugin is broken
Title: Message Title SCM/JIRA link daemon commented on JENKINS-32879 Re: Integration with mailer plugin is broken Code changed in jenkins User: Paul Allen Path: src/main/java/org/jenkinsci/plugins/p4/changes/P4ChangeEntry.java http://jenkins-ci.org/commit/p4-plugin/1d19356cb9f2d8e9b72a129e5719cca45d89821f Log: Add Perforce email address if Jenkins User is undefined. Other email plugins use P4UserProperty, but for if UserProperty is undefined update this one too. JENKINS-32879 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [p4-plugin] (JENKINS-32879) Integration with mailer plugin is broken
Title: Message Title Alexey Sergin updated an issue Jenkins / JENKINS-32879 Integration with mailer plugin is broken Change By: Alexey Sergin *Use case:*I have a Freestyle project with sources fetched by p4 plugin in "manual (custom view)" mode. The project has a post-build action "E-mail Notification" with a "Send separate e-mails to individuals who broke the build" checkbox checked. Mailer Plugin tries to compose a notification when build fails. The problem is that Mailer Plugin is not able to get emails corresponding to Perforce accounts.*Example Console Output:*{noformat}Building in workspace /var/lib/jenkins/workspace/backup... p4 client -o jenkins-master-backup +... p4 info +P4 Task: establishing connection server: ... node: ... p4 client -o jenkins-master-backup +... p4 client -i +... client: jenkins-master-backup... p4 client -o jenkins-master-backup +... p4 info +... p4 counter change +... p4 changes -m1 //jenkins-master-backup/... +Building on Node: master... p4 client -o jenkins-master-backup +... p4 info +P4 Task: establishing connection server: ... node: P4 Task: syncing files at change: 1657621... p4 sync -q /var/lib/jenkins/workspace/backup/...@1657621 +duration: (25ms)P4 Task: saving built changes p4 client -o jenkins-master-backup +... p4 info +... p4 client -o jenkins-master-backup +... p4 info +... p4 client -o jenkins-master-backup +... p4 info +... p4 changes -l @=1657621 +... p4 user -o Smith +... p4 files -m51 @=1657621 +... p4 fixes -c1657621 +... done[backup] $ /bin/sh -ex /tmp/hudson3013805400501810634.sh+ exit 1Build step 'Execute shell' marked build as failureFailed to send e-mail to Smith because no e-mail address is known, and no default e-mail domain is configuredAn attempt to send an e-mail to empty list of recipients, ignored.Finished: FAILURE{noformat}The problem is this: "Failed to send e-mail to Smith because no e-mail address is known, and no default e-mail domain is configured"* Info on user Smith : *{noformat}# /opt/perforce/bin/p4 user -o Smith# A Perforce User Specification.# User: SmithEmail: john.sm...@company.comUpdate: Access: FullName: John SmithPassword: **# cat /var/lib/jenkins/users/smith/config.xml Smith censored All false false false john.sm...@company.com {noformat}*Example log on org.jenkinsci.plugins.p4 + hudson.tasks :*{noformat}Feb 10, 2016 4:48:30 PM FINE org.jenkinsci.plugins.p4.client.ConnectionHelperP4: opened connection OKFeb 10, 2016 4:48:31 PM FINE org.jenkinsci.plugins.p4.changes.P4ChangeEntrySetting email for user: Smith:john.sm...@company.comFeb 10, 2016 4:48:31 PM FINE org.jenkinsci.plugins.p4.client.ConnectionHelperP4: closed connection OKFeb 10, 2016 4:48:31 PM FINE org.jenkinsci.plugins.p4.client.ConnectionHelperP4: opened connection OKFeb 10, 2016 4:48:33 PM FINE org.jenkinsci.plugins.p4.client.ConnectionHelperP4: opened connection OKFeb 10, 2016 4:48:34 PM FINE org.jenkinsci.plugins.p4.client.ConnectionHelperP4: opened connection OKFeb 10, 2016 4:48:35 PM FINE org.jenkinsci.plugins.p4.client.ConnectionHelperP4: opened connection OKFeb 10, 2016 4:48:38 PM FINE hudson.tasks.MailAddressResolverRe
[JIRA] [p4-plugin] (JENKINS-32879) Integration with mailer plugin is broken
Title: Message Title Alexey Sergin created an issue Jenkins / JENKINS-32879 Integration with mailer plugin is broken Issue Type: Bug Assignee: Unassigned Components: p4-plugin Created: 10/Feb/16 1:53 PM Environment: Host OS: CentOS Linux release 7.2.1511 Java: java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64 Jenkins: jenkins-1.625.3-1.1.noarch (official rpm from jenkins-ci.org) P4 Plugin: version 1.3.6 (from http://updates.jenkins-ci.org/latest/p4.hpi) Mailer Plugin: version 1.11 (bundled with Jenkins) Perforce server: P4D/LINUX26X86_64/2015.1/1227227 Priority: Major Reporter: Alexey Sergin Use case: I have a Freestyle project with sources fetched by p4 plugin in "manual (custom view)" mode. The project has a post-build action "E-mail Notification" with a "Send separate e-mails to individuals who broke the build" checkbox checked. Mailer Plugin tries to compose a notification when build fails. The problem is that Mailer Plugin is not able to get emails corresponding to Perforce accounts. Example Console Output: Building in workspace /var/lib/jenkins/workspace/backup ... p4 client -o jenkins-master-backup + ... p4 info + P4 Task: establishing conne