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

Fail Build if warnings are present is not working for first build or build without any reference

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • warnings-plugin
    • None

      Build should fail if there are any warnings independent of reference build.

      I have configured job with gcc 4 compiler parser and set the threshold to 1

      for the first build it reports 3 warnings but still build passes.
      From second build it is failing.

      Attached screen shots of job configuration.

        1. config.png
          config.png
          37 kB
        2. Success.png
          Success.png
          61 kB

          [JENKINS-25702] Fail Build if warnings are present is not working for first build or build without any reference

          Ulli Hafner added a comment -

          Which plugin versions (warnings, analysis-core)?

          Ulli Hafner added a comment - Which plugin versions (warnings, analysis-core)?

          Hi,
          I am using Warnings Plugin Release 4.33 and analysis collector 1.37

          aravind valluri added a comment - Hi, I am using Warnings Plugin Release 4.33 and analysis collector 1.37

          Ulli Hafner added a comment - - edited

          Already fixed in 4.34.

          Ulli Hafner added a comment - - edited Already fixed in 4.34.

            drulli Ulli Hafner
            aravindvalluri aravind valluri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: