How to attach pdf as an attachemnt in email-ext plugin

1,219 views
Skip to first unread message

Anand Raja.K

unread,
Jan 22, 2014, 5:41:05 AM1/22/14
to jenkins...@googlegroups.com
Hi,

I have tried various thing to attach pdf as attachment in email-ext but unable to do so..


Tried the below scenarios

in Attachments  section
${FILE, path="/<path> <file>.pdf"}

Nothing happens.


Tried the same in Default Content section.
Special characters  are displayed in the body of the mail.

Please help me out.


Slide

unread,
Jan 22, 2014, 7:51:50 AM1/22/14
to jenkins...@googlegroups.com
In the attachments section, just put "*.pdf" (without the quotes). Please note, it will only work if the file is in the workspace.


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



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

Anand Raja.K

unread,
Jan 24, 2014, 3:30:25 AM1/24/14
to jenkins...@googlegroups.com
Hi Slide,

I have tried but pdf is not attaching. I have checked pdf gets generated in workspace location only.

Regards
Anand Raja K

Anand Raja.K

unread,
Feb 3, 2014, 9:19:54 AM2/3/14
to jenkins...@googlegroups.com
Any one have updates on this??



On Wednesday, 22 January 2014 16:11:05 UTC+5:30, Anand Raja.K wrote:

Slide

unread,
Feb 3, 2014, 9:48:08 AM2/3/14
to jenkins...@googlegroups.com
Can you provide more information like the config.xml for the job or something like that? It's hard to debug without further information. Also, please try turning on debug mode in the global config and post the build log.


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

Anand Raja.K

unread,
Feb 4, 2014, 1:13:43 AM2/4/14
to jenkins...@googlegroups.com
Please find the attached log and config.xml file for your reference.



On Wednesday, 22 January 2014 16:11:05 UTC+5:30, Anand Raja.K wrote:
config.xml
log.txt

Daniel Beck

unread,
Feb 4, 2014, 4:04:16 AM2/4/14
to jenkins...@googlegroups.com
When you go to the workspace browser in Jenkins, there's an empty text field just above the file list.

Enter the pattern you used for email attachment there and click the arrow next to it. Does the PDF file now show up in the file list? If not, the pattern doesn't match the file in the workspace.
> --
> 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 jenkinsci-use...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> <log.txt><config.xml>

Message has been deleted

Anand Raja.K

unread,
Feb 5, 2014, 1:22:53 AM2/5/14
to jenkins...@googlegroups.com

Hi,

Thanks,

I have tried all scenario but the PDF does not show up. Im not sure im I entering the correct pattern in the workspace.
So I have attached the screen of the work location. Please let me know how to proceed further.
Jenkins_workspace_with_patterns.png
Jenkins_workspace_with_patterns2.png
Jenkins_workspace_with_patterns3.png
STS_workspace_location.png
workspace_location.png

Slide

unread,
Feb 5, 2014, 7:40:10 AM2/5/14
to jenkins...@googlegroups.com
I'm not sure why this is not working for you. I can build a debug version of email-ext with additional logging if you are willing to try it out.

Anand Raja.K

unread,
Feb 5, 2014, 11:22:52 PM2/5/14
to jenkins...@googlegroups.com
Thanks for the information Slide. Im planing to try it out. Please build debug version of email-ext. let me know once its available.



On Wednesday, 22 January 2014 16:11:05 UTC+5:30, Anand Raja.K wrote:

Slide

unread,
Feb 7, 2014, 8:28:59 AM2/7/14
to jenkins...@googlegroups.com
All the connect call does is this:

int rc = Sqlite3.sqlite3_open(database, out this.db);
if(rc != Sqlite3.SQLITE_OK)
throw GetSqliteError(this.db, null);

Which makes me thing that sqlite3_open is returning an error code. What happens if you do the same in CPython?


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

Anand Raja.K

unread,
Feb 9, 2014, 11:42:13 PM2/9/14
to jenkins...@googlegroups.com

Hi Slide,

Thanks for the information, Im not sure where to change the code. Can you please guide to do so.
I have searched for "sqlite3_open" word in email-ext git folder, but unable to find it.


On Wednesday, 22 January 2014 16:11:05 UTC+5:30, Anand Raja.K wrote:

Slide

unread,
Feb 10, 2014, 8:45:50 AM2/10/14
to jenkins...@googlegroups.com
Sorry, that was a reply to the wrong mailing list. Was doing things too early in he morning or too late at night.


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

Anand Raja.K

unread,
Feb 11, 2014, 3:57:28 AM2/11/14
to jenkins...@googlegroups.com
No Problem Slide, Do you have any updates on this?


--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/HWwUaLlp9d0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--

With Regards,
Anand Raja.K

Slide

unread,
Feb 11, 2014, 8:49:56 AM2/11/14
to jenkins...@googlegroups.com
I had to reimage my laptop, so I still haven't gotten back to the point where I can work on this. I'll let you know. For now, can you open a JIRA item (https://issues.jenkins-ci.org) so its easier to track?

Anand Raja.K

unread,
Feb 11, 2014, 8:57:55 AM2/11/14
to jenkins...@googlegroups.com
Not a problem, Thanks for the information, I have Opened Bug in JIRA
https://issues.jenkins-ci.org/browse/JENKINS-21760
Reply all
Reply to author
Forward
0 new messages