| 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). |