Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29009

Do not atampt to send jobs that does not exist

XMLWordPrintable

      In case of IOException it should be rechecked if job still exists and item removed from queue it if does not. The plugin does not seem to do that proactively when run/project is deleted.

      Waiting for a time out before a retry, after encountering an error while sending JOB_NAME #34 (5 min 35 sec before retry):
      hudson.plugins.build_publisher.ServerFailureException: java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/config.xml (No such file or directory)
        at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:193)
        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)
      Caused by: 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 org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:176)
        ... 6 more
      

            vjuranek vjuranek
            olivergondza Oliver Gondža
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: