Fayzan
Fayzan

Reputation: 141

Jenkins - Change subject in email-ext plugin

I am using email-ext plugin to trigger emails after the build fails or become unstable. The build becomes unstable when some of the tests fail and the build fails when the compilation fail.

Can we use conditions to display different customized subject depending on the cause of the email trigger?

Upvotes: 2

Views: 2924

Answers (1)

Morfic
Morfic

Reputation: 15508

Yes, below the Editable email notification interface there should be an Advanced settings.. button which will give you access to various triggers. As you add & configure the triggers, you'll note an Advanced.. button for each of them, which will allow you to fully customize the e-mail template.

Mail configs

Upvotes: 5

Related Questions