You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Hello,
I'm using Jenkins 1.557 on Linux with a Windows slave and part of my build steps are scripts that create files that I would like to email and I was wondering if there is a way for the script (python and bash) to save the path to the created file in a variable/parameter that will be accessed by another task like the "Editable Email Notification" for me to include as an attachment or content.
I imagine having something like the following flow will solve my problem:
Task 1) Run script that creates a file with random name and saves the file name in a jenkins variable. Task 2) Read file path from variable to send it as an email attachment.
or
Task 1) Run script that creates a file with random name, copy that file to to a web server and save the file name in a jenkins variable. Task 2) Read the path where the file was saved from a variable and embed it as a link in the email content.