Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 30070

Using wildcard in Default Content of Editable Email Notification in Jenkins

$
0
0

I need to print the content of the file in the mail. I am using Multi-Configuration plugin in Jenkins. I have followed this link: https://stackoverflow.com/a/48923742/10220825

But in my case the file name is not fixed, so I need to use the wildcards for file name in Default Contentpath = "$WORKSPACE/Result/AMDuProf*-Summary-*.txt"

enter image description here

But it is not working. I am getting error in the mail.

ERROR: File '/home/abc/xyz-Jenkins/workspace/pqr/label/cde-SSP-Ubuntu-18/Result/AMDuProf*-Summary-*.txt' does not exist.

So how to use the wildcard for the file name as the file name is not fixed, will change with different slaves. Please suggest me a correct approach.


Viewing all articles
Browse latest Browse all 30070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>