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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: analysis-core-plugin
    • None
    • Environment:
      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.

       

            Assignee:
            Ulli Hafner
            Reporter:
            Shannon Kerr
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: