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

Add stage information to exceptions in pipeline builds

XMLWordPrintable

      Use case:

      try {
        stage('build') {
          ...
        }
        stage('test') {
          ...
        }
        stage('release') {
          ...
        }
      } catch (StageException ex) {
        notify("ex.stageName failed!", ex.innerException.message)
      }
      

            Unassigned Unassigned
            jordanlc Jordan Coll
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: