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

Error during build on slave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • remoting
    • None
    • Platform: All, OS: All

      After a successful build, on a JNLP slave, the following error is logged, and
      the build is marked failed, even though it succeeded. I found
      org.apache.tools.ant.types.ResourceCollection was part of ant 1.7.0 which is the
      version of ant we're using on both master and slave side.

      BUILD SUCCESSFUL

      Total time: 6 seconds

      FATAL:
      org.apache.tools.ant.taskdefs.Untar.add(Lorg/apache/tools/ant/types/ResourceCollection;)V

      java.lang.NoSuchMethodError:
      org.apache.tools.ant.taskdefs.Untar.add(Lorg/apache/tools/ant/types/ResourceCollection;)V

      at hudson.FilePath.readFromTar(FilePath.java:741)

      at hudson.FilePath.copyRecursiveTo(FilePath.java:678)

      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:65)

      at hudson.model.Build$RunnerImpl.post(Build.java:151)

      at hudson.model.Run.run(Run.java:557)

      at hudson.model.Build.run(Build.java:115)

      at hudson.model.Executor.run(Executor.java:61)

            Unassigned Unassigned
            loweryr loweryr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: