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"

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Rafael Rezende
          Path:
          src/main/java/jenkins/plugins/play/PlayBuilder.java
          src/main/java/jenkins/plugins/play/version/Play2x.java
          src/test/java/jenkins/plugins/play/PlayCommandExecutionTest.java
          src/test/java/jenkins/plugins/play/TestGenerateCommands.java
          http://jenkins-ci.org/commit/play-plugin/5bfb808f516588002eac878c20b2659cf0c95b97
          Log:
          JENKINS-31851 Windows compatibility

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Rafael Rezende Path: src/main/java/jenkins/plugins/play/PlayBuilder.java src/main/java/jenkins/plugins/play/version/Play2x.java src/test/java/jenkins/plugins/play/PlayCommandExecutionTest.java src/test/java/jenkins/plugins/play/TestGenerateCommands.java http://jenkins-ci.org/commit/play-plugin/5bfb808f516588002eac878c20b2659cf0c95b97 Log: JENKINS-31851 Windows compatibility
          Hide
          rafaelrezend Rafael Rezende added a comment -

          Fixed in v1.0.1 - released on Feb 8, 2016

          Show
          rafaelrezend Rafael Rezende added a comment - Fixed in v1.0.1 - released on Feb 8, 2016

            People

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

              Dates

              • Created:
                Updated:
                Resolved: