• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • batch-task-plugin
    • Jenkins ver. 1.642.4.2
      Batch Task Plugin 1.18

      The console is empty.
      See the attached reproduction job: Freestyle, execute a Shell build step which echo "Build Shell OK", then a batch task "test-NXBT-1134" which should echo "Batch task OK".
      The batch task is supposed to have been executed but it failed for an unknown reason and there is no console.

      Making the batch task being automatically or manually executed changes nothing to the current issue.

          [JENKINS-36184] Batch task console is empty

          jun 23, 2016 1:24:01 PM hudson.model.Executor finish1
          GRAVE: Executor threw an exception
          java.lang.NoClassDefFoundError: hudson/matrix/MatrixRun
          	at org.jenkinsci.lib.envinject.service.EnvInjectActionRetriever.getEnvInjectAction(EnvInjectActionRetriever.java:25)
          	at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:56)
          	at hudson.plugins.batch_task.BatchRun.run(BatchRun.java:224)
          	at hudson.model.ResourceController.execute(ResourceController.java:98)
          	at hudson.model.Executor.run(Executor.java:410)
          Caused by: java.lang.ClassNotFoundException: hudson.matrix.MatrixRun
          	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
          	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
          	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
          	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
          	... 5 more
          

          Félix Belzunce Arcos added a comment - jun 23, 2016 1:24:01 PM hudson.model.Executor finish1 GRAVE: Executor threw an exception java.lang.NoClassDefFoundError: hudson/matrix/MatrixRun at org.jenkinsci.lib.envinject.service.EnvInjectActionRetriever.getEnvInjectAction(EnvInjectActionRetriever.java:25) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:56) at hudson.plugins.batch_task.BatchRun.run(BatchRun.java:224) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.ClassNotFoundException: hudson.matrix.MatrixRun at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang. ClassLoader .loadClass( ClassLoader .java:357) ... 5 more

          Félix Belzunce Arcos added a comment - Issue fixed in https://github.com/jenkinsci/batch-task-plugin/pull/6 Release 1.19

            fbelzunc Félix Belzunce Arcos
            jcarsique Julien Carsique
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: