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

Jenkinsfile Runner tests fail on Windows

XMLWordPrintable

      I am not sure we really plan to support Windows, needs discussion.

      Command:  mvn clean package -Denvironment=test

       

      rm -rf .jenkinsfile-runner-test-framework
      process_begin: CreateProcess(NULL, rm -rf .jenkinsfile-runner-test-framework, ...) failed.
      make (e=2): The system cannot find the file specified.
      make: *** [Makefile:7: clean] Error 2

       

      [INFO] --- exec-maven-plugin:1.6.0:exec (test) @ tests --- Downloading from cloudbees-internal: https://nexus-internal.cloudbees.com/content/groups/mirror/org/apache/commons/commons-exec/1.3/commons-exec-1.3.pom Downloaded from cloudbees-internal: https://nexus-internal.cloudbees.com/content/groups/mirror/org/apache/commons/commons-exec/1.3/commons-exec-1.3.pom (0 B at 0 B/s) Downloading from cloudbees-internal: https://nexus-internal.cloudbees.com/content/groups/mirror/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar Downloaded from cloudbees-internal: https://nexus-internal.cloudbees.com/content/groups/mirror/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar (0 B at 0 B/s) rm -rf .jenkinsfile-runner-test-framework process_begin: CreateProcess(NULL, rm -rf .jenkinsfile-runner-test-framework, ...) failed. make (e=2): The system cannot find the file specified. make: *** [Makefile:7: clean] Error 2 [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Jenkinsfile Runner 1.0-beta-8-SNAPSHOT: [INFO] [INFO] Jenkinsfile Runner ................................. SUCCESS [ 10.401 s] [INFO] bootstrap .......................................... SUCCESS [ 11.808 s] [INFO] setup .............................................. SUCCESS [ 54.863 s] [INFO] payload-dependencies ............................... SUCCESS [ 52.228 s] [INFO] payload ............................................ SUCCESS [ 4.178 s] [INFO] jenkinsfile-runner ................................. SUCCESS [ 58.573 s] [INFO] tests .............................................. FAILURE [ 4.376 s]
      

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: