Most probably the file is locked by another process, Windows likes it. For example, even notepad can lock the file and block modifications from other places.
You can use ProcessExplorer from Windows Essintials to discover a list of processes keeping the file lock. If there is a Jenkins process, it's likely a bug среда, 18 ноября 2015 г., 12:16:08 UTC+3 пользователь [email protected] написал: > > Hi All, > > I am trying to analyze Jenkins REST API methods. > > I have installed the Jenkins and accessed the API documentation. But it > doesn't provide detail information. Is there any other resources? > > I also have a another problem. > > I tried to create a job using below request: > > > http://testUser:b9ad5d11b7f584db48b20ec116fa783d@localhost:8080/createItem?name=testJob2 > > It gives below error: > > java.nio.file.FileSystemException: > C:\Users\skaluarachchi\.jenkins\jobs\testJob2\config.xml: The process > cannot access the file because it is being used by another process. > > at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) > > Any idea how to solve this. I searched web, but couldn't find any useful > info. > > Appreciate support. > > Thank you. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/647fc685-c494-416c-bbfd-ff3bfbd7d2b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
