Hi Dhatchanamoorthy Ramasamy,
I suppose you're using Email-Ext Plugin, because default Email Notification
Plugin doesn't include attachment option.
I've executed a job creating a file ${BUILD_NUMBER}.txt and I've received
it by email when writing ${BUILD_NUMBER}.txt in attachment textbox.
Please, ensure these issues:
- Workspace is base directory in attachment option. Ensure your file
exists in that location.
- Check Triggers in Advaced Settings, because "Failure - Any" is default
trigger. Maybe you're job isn't failing and it doesn't send the email.
- Check mispelling. ${Build_NUmber} string works in Unix, but I don't
know if it's the case of a Windows system.
I hope you get it.
Best regards,
Rachel
El miércoles, 31 de agosto de 2016, 17:59:11 (UTC+2), Dhatchanamoorthy
Ramasamy escribió:
>
> I am trying to send the failure screenshot as the email attachment.
>
> The ${Build_NUmber} variable not working in attachment text box.
>
> can you please let me know what variable I need to use to get the build
> number
>
--
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/4df7d785-9460-4887-8828-d88e1c150bad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.