Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ckullabosch authored Feb 2, 2024
1 parent b4613ba commit b70d63e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ public String getScript() {
ShellController c = new ShellController(ws,(os == OsType.ZOS), cookieValue, jenkinsResultTxtEncoding);
FilePath shf = c.getScriptFile(ws);

// here we need to keep the file open for a longer time to make the race to happen more likely
// JENKINS-70874: if a new process is forked during this call, the writeable file handle will be copied and leading to the "Text file busy" issue
// when executing the script.
shf.write(script, scriptEncodingCharset);

String shell = null;
Expand Down

0 comments on commit b70d63e

Please sign in to comment.