hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500

Jenkins JIRA | Oliver Gondža | 1 year ago
  1. 0

    It seems that when a job is recreated on source instance with different type, it is not possible to push updates. {noformat}hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500 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: hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500 at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:191) {noformat} This is what public reports: {noformat} java.io.IOException: Expecting class hudson.model.FreeStyleProject but got class hudson.maven.MavenModuleSet instead at hudson.model.AbstractItem.updateByXml(AbstractItem.java:644) at hudson.model.AbstractItem.doConfigDotXml(AbstractItem.java:601) {noformat}

    Jenkins JIRA | 1 year ago | Oliver Gondža
    hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500
  2. 0

    It seems that when a job is recreated on source instance with different type, it is not possible to push updates. {noformat}hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500 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: hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500 at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:191) {noformat} This is what public reports: {noformat} java.io.IOException: Expecting class hudson.model.FreeStyleProject but got class hudson.maven.MavenModuleSet instead at hudson.model.AbstractItem.updateByXml(AbstractItem.java:644) at hudson.model.AbstractItem.doConfigDotXml(AbstractItem.java:601) {noformat}

    Jenkins JIRA | 1 year ago | Oliver Gondža
    hudson.plugins.build_publisher.ServerFailureException: .../config.xml responded with status 500

    Root Cause Analysis

    1. hudson.plugins.build_publisher.ServerFailureException

      .../config.xml responded with status 500

      at hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects()
    2. hudson.plugins.build_publisher
      HTTPBuildTransmitter.followRedirects
      1. hudson.plugins.build_publisher.HTTPBuildTransmitter.followRedirects(HTTPBuildTransmitter.java:191)
      1 frame