access denied using mkdir and rmdir in jenkins
问题 Jenkins is generating a build of a C++ project made in Visual Studio. During the process, some .bat s are called and in one of them, there is a structure like this: SET TEMPDIR=Temp rmdir %TEMPDIR% /S /Q echo Don't continue if there was an error above (except the not found error which is ok) and go hand delete the dir! :pause mkdir %TEMPDIR% I'm not very familiar to batch scripting, but when both rmdir and mkdir are called, Jenkins gives me access denied . I looked in the build configurations