The groovy syntax generator is NOT working for sample step properties: Set Job Properties. I\'ve selected Discard old builds and then entered
properties: Set Job Properties
Discard old builds
Jenkins has built-in syntax generator pages.
Pipeline-Syntax: Snippet Generator >/pipeline-syntax/
>/pipeline-syntax/
Pipeline-Syntax: Directive Generator >/directive-generator/
>/directive-generator/
Discard old builds example from Directive Generator