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.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/95464c30-f5a8-4c75-9ccf-6cf9d2bdf50e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to