-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins 2.7.3, Pipeline 2.3
Reproduction steps are pretty easy:
- Open snippet generator
- Choose junit step
- Add a "Health report amplification factor" different than the default of 1.0
- 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'
- duplicates
-
JENKINS-31967 Specifying decimal numbers for JUnit health factor in Pipeline snippets results in invalid code
- Resolved