Am Mittwoch, 22. Mai 2019, 10:38:29 CEST schrieb Robert Sandell:
> You need a config.jelly (and help-field.html) file for your step and the
> rest should be done for you by magic.
Sorry, if my question was not precise.
For the withEnv step, the snippets generator puts nicely formatted text in the
text box like this:
withEnv([var=val]) {
// some stuff
}
For my step, the snippet generator prints everything on a single line:
cmakeBuild buildDir: 'build', installation: 'InSearchPath', sourceDir: 'src',
steps: [[args: 'all']]
I tried to override StepDescriptor#argumentsToString(Map<String, Object>) but
that method is never invoked. My Jenkins version is 2.150.3 and workflow-
aggregator is 2.5
Martin
--
E-Mails sollten Text sein, Text und nur Text.
Wenn Gott gewollt hätte, dass E-Mails in HTML geschrieben würden,
endeten Gebete traditionell mit </amen>.