How to add Job Description into Jenkins email notification content
问题 Using the Configure System > Extended E-mail Notification configuration in Jenkins I would like to add the description of my job (present on http://my-jenkins.org/job/myjob page) into the Default Content of build failure emails. Is there any $PROJECT_DESCRIPTION variable that I can use for that ? Or is it possible to do that using a Jelly/Groovy script ? Thanks ! 回答1: As told by Zloj , Jenkins don't have such variable but you can customize your own. Jenkins have plugin to set Environment