-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Critical
-
Component/s: pipeline-utility-steps-plugin
Using the below pipeline script fails in the second stage and in any subsequent runs until the master or slave isn't restarted.
Â
The error is:
ERROR: Cannot delete workspace...
Â
The script:
stage('first') {
 node() {
  cleanWs()  tee('output.log')
Unknown macro: {Â Â Â echo 'test'Â Â }Â }
}stage('second') {
 node()Unknown macro: {  cleanWs()   echo 'cleaned' }}
Marked as critical due to the fact that slave/master restart is required to resolve the issue and allow further runs to wipe the workspace (until tee is used again).
Â
- relates to
-
JENKINS-55505 tee on windows results in corrupt files
-
- Resolved
-