I have work with the configuration matrix to complete the assembly on 2 computers (master and slave). I have the option "Delete the workspace before assembling" in this task.
Unfortunately, the workspace is deleted only on the "master" node, that is, the node where the main task is performed (the task that runs all the task needed to cover the configuration matrix).
The workspace on the second node is not deleted.
I think this is a Jenkins error: because the job has a configuration matrix, there is a main job to start another job. Therefore, the option "Delete workspace before assembling" is used only for this main task. I think this parameter should be applied to all matrix configuration tasks.
Does anyone know if I am wrong?
source share