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

understand how jenkins keeps an error when pipeline fails

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • email-ext-plugin
    • None

      Hi I am using the emailext plugin and in my pipeline I used try and catches to catch error so I could send mail to the developers and notify them but in the configuration of emailext I don't understand how to use enviroment variables ${ENV,var=global_exception} dosent work 
      so I want to ask 2 things how to use it correctly (ENV)
      and if there is already env variable that catch the error that fail the pipeline from jenkins side

            Unassigned Unassigned
            yuval123 yuval
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: