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

Same job passes on 1 slave and fails on another

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    •  Ubuntu 14 64-bit

      I have the same Jenkins job that passes on one slave node and fails on the other one with the following error message:
      03:59:43 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project activemq-maven-plugin: Compilation failure*03:59:43* [ERROR] /var/jenkins/workspace/COTS/activemq-src/activemq-tooling/activemq-maven-plugin/src/main/java/org/apache/activemq/maven/StartBrokerMojo.java:[279,61] cannot access org.apache.maven.model.Build*03:59:43* [ERROR] class file for org.apache.maven.model.Build not found

      03:59:43 class file for org.apache.maven.model.Build not found
      03:59:43
      03:59:43 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
      03:59:43 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      03:59:43 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      03:59:43 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      03:59:43 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      03:59:43 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      03:59:43 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

      Seems like there is an issue with Maven install on this Slave Node - I removed Maven and re-run the job ( the job installs Maven ), but I still get the same error message

       

      Ant assistance would be appreciated

            Unassigned Unassigned
            jovanon Nenad Jovanovic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: