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

Play Plugin doesn't work in windows 7: "%1 is not a valid Win32 application"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • play-autotest-plugin
    • None
    • Windows 7

      I follow the instructions to use the play plugin in windows accord the site: https://wiki.jenkins-ci.org/display/JENKINS/play-plugin
      However, I found the following error at the job execution:
      ***********************************************************************

      Iniciado pelo usuário anonymous
      Construindo no workspace C:\Users\mjimenez\.jenkins\jobs\PlayJob\workspace
      Command detected: -Dsbt.log.noformat=true
      Command detected: testOnly IntegrationTest
      [locadora] $ C:\Java\ferramentas\play-2.4.3\activator -Dsbt.log.noformat=true "testOnly IntegrationTest"
      %1 is not a valid Win32 application
      FATAL: Cannot run program "C:\Java\ferramentas\play-2.4.3\activator" (in directory "C:\Java\workspaces\ws-play\locadora"): CreateProcess error=193, %1 não é um aplicativo Win32 válido
      java.io.IOException: Cannot run program "C:\Java\ferramentas\play-2.4.3\activator" (in directory "C:\Java\workspaces\ws-play\locadora"): CreateProcess error=193, %1 não é um aplicativo Win32 válido
      at java.lang.ProcessBuilder.start(Unknown Source)
      at hudson.Proc$LocalProc.<init>(Proc.java:244)
      at hudson.Proc$LocalProc.<init>(Proc.java:216)
      at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
      at hudson.Launcher$ProcStarter.start(Launcher.java:381)
      at jenkins.plugins.play.PlayBuilder.perform(PlayBuilder.java:298)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:76)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      at hudson.model.Build$BuildExecution.build(Build.java:205)
      at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      at hudson.model.Run.execute(Run.java:1738)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Caused by: java.io.IOException: CreateProcess error=193, %1 não é um aplicativo Win32 válido
      at java.lang.ProcessImpl.create(Native Method)
      at java.lang.ProcessImpl.<init>(Unknown Source)
      at java.lang.ProcessImpl.start(Unknown Source)
      ... 16 more
      Finished: FAILURE

            rafaelrezend Rafael Rezende
            marcohj Marco Herrera Jimenez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: