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

Unable to change job type on publishing instance

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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)
      

        Attachments

          Activity

          Hide
          olivergondza Oliver Gondža added a comment -

          Since SECURITY-127, Jenkins does not longer allow to override item type. I am not sure how this used to work before.

          Show
          olivergondza Oliver Gondža added a comment - Since SECURITY-127, Jenkins does not longer allow to override item type. I am not sure how this used to work before.

            People

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

              Dates

              Created:
              Updated: