To pick this up again, i also tried to get this to work and ran into some 
issues:
 emailext (
      subject: "subject",
      body: """<p>STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
 <div style="padding-left: 30px; padding-bottom: 15px;">
   ${CHANGES, showPaths=true}

  </div>
    <p>Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} 
[${env.BUILD_NUMBER}]</a>"</p>""",
      recipientProviders: [[$class: 'CulpritsRecipientProvider']]
    )

would just give me a "Unexpected Token" Groovy Error. Using:
 emailext (
      subject: "subject",
      body: """<p>STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
 <div style="padding-left: 30px; padding-bottom: 15px;">
   ${CHANGES(showPaths: true)}

  </div>
    <p>Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} 
[${env.BUILD_NUMBER}]</a>"</p>""",
      recipientProviders: [[$class: 'CulpritsRecipientProvider']]
    )

i get:

java.lang.NoSuchMethodError: No such DSL method 'CHANGES' found among steps 


So this does not really seam to work? Or is there some error in my syntax?

Regards,

Seb



Am Dienstag, 23. Mai 2017 15:56:20 UTC+2 schrieb slide:
>
> What did you try, and what was the result?
>
>
>>
>>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/df5acca1-3f16-45b1-ac22-80657bc187fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to