File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/DurableTaskStep Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- buildPlugin()
1
+ buildPlugin(jenkinsVersions : [ null , ' 2.121.1 ' ] )
Original file line number Diff line number Diff line change 2
2
Encoding of process output.
3
3
In the case of < code > returnStdout</ code > , applies to the return value of this step;
4
4
otherwise, or always for standard error, controls how text is copied to the build log.
5
- If unspecified, uses the system default encoding of the node on which the step is run,
6
- but if there is any expectation that process output might include non-ASCII characters,
5
+ If unspecified, uses the system default encoding of the node on which the step is run.
6
+ If there is any expectation that process output might include non-ASCII characters,
7
7
it is best to specify the encoding explicitly.
8
+ For example, if you have specific knowledge that a given process is going to be producing UTF-8
9
+ yet will be running on a node with a different system encoding
10
+ (typically Windows, since every Linux distribution has defaulted to UTF-8 for a long time),
11
+ you can ensure correct output by specifying: < code > encoding: 'UTF-8'</ code >
8
12
</ div >
You can’t perform that action at this time.
0 commit comments