Return useful data to pipeline callers

This issue is archived. You can view it, but you can't modify it. Learn more

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
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: