hudson.plugins.build_publisher.ServerFailureException: java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Make sure the file resides in the project folder if you're referencing it via a relative path. If not, use the absolute path to the file with the file extension.

,

Use the relative path when providing the location of the file. Place the file in the project folder and access it according to the hierarchy. If you want to access a file outside the project folder, provide the absolute path.

Solutions on the web

via Jenkins JIRA by Oliver Gondža, 1 year ago
java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory)
via Jenkins JIRA by Oliver Gondža, 1 year ago
java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory)
via Jenkins JIRA by Oliver Gondža, 1 year ago
java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:120)
at org.apache.commons.httpclient.methods.FileRequestEntity.writeRequest(FileRequestEntity.java:73)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:176)
at hudson.plugins.build_publisher.HTTPBuildTransmitter.executeMethod(HTTPBuildTransmitter.java:158)
at hudson.plugins.build_publisher.PublisherThread.executeMethod(PublisherThread.java:306)
at hudson.plugins.build_publisher.PublisherThread.submitConfig(PublisherThread.java:273)
at hudson.plugins.build_publisher.PublisherThread.createOrSynchronize(PublisherThread.java:266)
at hudson.plugins.build_publisher.PublisherThread.synchronizeProjectSettings(PublisherThread.java:220)
at hudson.plugins.build_publisher.PublisherThread.run(PublisherThread.java:113)

Users with the same issue

4 times, 1 day ago
2 times, 2 weeks ago
Once, 2 months ago
5 times, 2 months ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.