The following plugin provides functionality available through
Pipeline-compatible steps. Read more about how to integrate steps into your
Pipeline in the
section of the
For a list of other such plugins, see the
Pipeline Steps Reference
r: Execute R script
Encoding of standard output, if it is being captured.
Normally, a script which exits with a nonzero status code will cause the step to fail with an exception. If this option is checked, the return value of the step will instead be the status code. You may then compare it to zero, for example.
If checked, standard output from the task is returned as the step value as a
String, rather than being printed to the build log. (Standard error, if any, will still be printed to the log.) You will often want to call
.trim() on the result to strip off a trailing newline.
Was this page helpful?
Please submit your feedback about this page through this
Alternatively, if you don't wish to complete the quick form, you can simply
indicate if you found this page helpful?
See existing feedback here.