Jenkins Email-ext plugin - tokens

2019-01-20 08:07发布

问题:

Hi I'm using Jenkins Email-ext plugin.

Where can I find a list of all the things I can refer to in the html content of the email?

For instance: I recently found out that you can put parameters values inside the mail using:

${ENV,var="variable_name"}

But say that I want to get build log or build number or build status (passed fail). Do you know if there is a document listing all data that is referable in this plugin.

Thanks!!

回答1:

On job configurations page:

Check 'Editable Email Notification' box -> find 'Content Token Reference' (it's between 'Attachments' and 'Trigger for matrix projects') -> Click on ? to the right side of it.