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

Unable to change job type on publishing instance

XMLWordPrintable

      It seems that when a job is recreated on source instance with different type, it is not possible to push updates.

      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)
      

      This is what public reports:

      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)
      

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

              Created:
              Updated: