-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: forensics-api-plugin, structs-plugin, workflow-cps-plugin
-
None
Using the Pipeline Syntax page to generate code for discoverReferenceBuild results in:
discoverReferenceBuild requiredResult: 'FAILURE'
This doesn't work as requiredResult doesn't expect a string. Instead it's expect:
discoverReferenceBuild requiredResult: hudson.model.Result.FAILURE
So either the code generator should be adjusted, or the parser that he also accepts a string.
- links to