Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43355

Emails using WARNINGS_RESULT show "is not supported in this context" in Pipeline builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • analysis-core-plugin
    • None
    • Jenkins 2.32.3
      email-ext-plugin 2.57
      warnings-plugin 4.60

      I try to reference WARNINGS_RESULT in

       

      pipeline {

      .......

      post {

          always  {

              emailext (

                   body: '''${WARNINGS_RESULT}'''

      ........

       

      And I get the following in the email:

      WARNINGS_RESULT is not supported in this context

       

      I successfully ran WarningsPublisher in a previous step and that information is being posted for the builds.

       

            drulli Ulli Hafner
            kerrhome Shannon Kerr
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: