Request for Jenkins API Documentation

91 views
Skip to first unread message

viveka...@gmail.com

unread,
Nov 18, 2015, 4:16:08 AM11/18/15
to Jenkins Developers
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.

Oleg Nenashev

unread,
Dec 1, 2015, 12:05:28 PM12/1/15
to Jenkins Developers
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 пользователь viveka...@gmail.com написал:

Laura Miron

unread,
May 17, 2016, 7:38:11 PM5/17/16
to Jenkins Developers
I am having the same problem. ProcessExplorer cannot find a process locking the file, but the file does not even exist until the createItem request creates it, and then that same createItem request throws the error. This seems like Jenkins bug. I can delete the file no problem without message that another process is locking the file.

Baptiste Mathus

unread,
May 18, 2016, 2:23:50 AM5/18/16
to Jenkins Developers

Hi Laura,

If you can then file an issue in the bug tracker with the step to reproduce the problem that'd be great. Even greater if you can propose the associated pull request.

Cheers

--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/2d4c310e-246d-483f-a6cb-2637679afe3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages