Return useful data to pipeline callers

XMLWordPrintable

      Right now calling `warnings(...)` from inside of my non-declarative pipeline returns `null`. I would like to be able to get useful information from the warnings plugin such as the report URL, how many warnings there were of different severities, and if the warnings exceeded any thresholds.

      Is there maybe a setting I'm missing?

      warnings(
              canComputeNew: false,
              canResolveRelativePaths: false,
              canRunOnFailed: true,
              categoriesPattern: '',
              defaultEncoding: '',
              excludePattern: '',
              healthy: '',
              includePattern: '',
              messagesPattern: '',
              parserConfigurations: [
                [parserName: 'JSLint', pattern: 'tmp/jslint.xml']
              ],
              unHealthy: '',
              unstableTotalAll: '0'
            )
      

            Assignee:
            Ulli Hafner
            Reporter:
            Steve V
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: