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

REST api needed to get individual warnings values, not combined ones

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • warnings-plugin
    • None

      At the moment there is REST api warningsResult/ that shows the combined warnings.
      If the build counts gcc and lint warnings for example then it is impossible to know what each parsers value is since they get combined.

      PC-lint's url is warnings0Result/
      and
      GCC's url is warnings17Result/

      but there doesn't seem to be a way to find out what parsers was executed and what their values are beforehand. (without hardcoding and guessing urls)

      So my request is for a REST api to provide a list of
      names and urls

      e.g.
      [

      {"parserName":"GCC","url":"warnings17Result"}

      ,

      {"parserName":"PC-Lint","url":"warnings0Result"}

      ]

      using this i can then go and query each url

            drulli Ulli Hafner
            mornejoubert Morne Joubert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: