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

Upgrade from 1.6 to 2.1 breaks build and tasks

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • tasks-plugin
    • None
    • Platform: All, OS: All

      Hi,

      I've upgraded hudson from 1.179 and task 1.6 plugin to hudson 1.94 and tasks 2.1.

      Now the build with the tasks enabled doesn't works.
      When I enter the Job-Page, the styles on the page are broken, and the task-graph
      shows the broken image.

      In the build-console, I get the following error after the build completes
      successfully, so the build breaks:

      [.. the build ..]
      BUILD SUCCESSFUL
      Total time: 6 minutes 15 seconds
      Recording test results
      Scanning workspace files for tasks...
      FATAL: java.lang.Object
      java.lang.ClassCastException: java.lang.Object
      at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:143)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:302)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:290)
      at hudson.model.Build$RunnerImpl.post2(Build.java:134)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:275)
      at hudson.model.Run.run(Run.java:677)
      at hudson.model.Build.run(Build.java:101)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:71)

          [JENKINS-1418] Upgrade from 1.6 to 2.1 breaks build and tasks

          danielgalan added a comment -

          Created an attachment (id=189)
          This shows the broken styles and the broken image

          danielgalan added a comment - Created an attachment (id=189) This shows the broken styles and the broken image

          Ulli Hafner added a comment -

          The tasks 2.x releases are not compatible with the 1.x releases. Providing an
          automatic upgrade path seems to be not worth the effort.

          Please remove old build results, then the exceptions should disappear and the
          plug-in will work.

          Ulli Hafner added a comment - The tasks 2.x releases are not compatible with the 1.x releases. Providing an automatic upgrade path seems to be not worth the effort. Please remove old build results, then the exceptions should disappear and the plug-in will work.

            drulli Ulli Hafner
            danielgalan danielgalan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: