This pull request respond to the issue JENKINS-66374.
The mac user is not deleted when something went wrong in the build. The home folder of the user cannot be deleted because somes process still using it.
This PR add pkill command to stop all process of an user before delete it.
This pull request respond to the issue JENKINS-66374.
The mac user is not deleted when something went wrong in the build. The home folder of the user cannot be deleted because somes process still using it.
This PR add pkill command to stop all process of an user before delete it.