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>.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/3969780.GiuonRKQWM%40linux.
For more options, visit https://groups.google.com/d/optout.