Specifying decimal numbers for JUnit health factor in Pipeline snippets results in invalid code

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

XMLWordPrintable

      Specifying 0.1 in Health report amplification factor will result in bad groovy:
      step([$class: 'JUnitResultArchiver', healthScaleFactor: <object of type java.lang.Double>, testResults: '**/target/surefire-reports/*.xml'])

      This'll happen with 20.0, 10.5, whatever - any decimal ends up showing up like this.

            Assignee:
            Artem Fedorov
            Reporter:
            Andrew Bayer
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: