junit snippet generator with "Health report" Double doesn't generate proper Groovy output

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

XMLWordPrintable

      Reproduction steps are pretty easy:

      1. Open snippet generator
      2. Choose junit step
      3. Add a "Health report amplification factor" different than the default of 1.0
      4. Get invalid Groovy

      Expected:

      junit healthScaleFactor: 3.0, testResults: 'build/test-reports/*.xml'
      

      Received

      junit healthScaleFactor: <object of type java.lang.Double>, testResults: 'build/test-reports/*.xml'
      

            Assignee:
            Jesse Glick
            Reporter:
            R. Tyler Croy
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: