Skip to content
Permalink
Browse files

[FIXED JENKINS-17668] Windows phing is broken, jenkins tries to execu…

…te phing.bat with php.exe
  • Loading branch information
ssogabe committed Apr 20, 2013
1 parent aefdb9c commit ffb569ec63f8179f09ddae4b036c87200b9e3815
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/java/hudson/plugins/phing/PhingBuilder.java
@@ -161,7 +161,9 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
}

// PHP Command
args.add(computePhpCommand(pi, env));
if (launcher.isUnix()) {
args.add(computePhpCommand(pi, env));
}
// Phing Command
args.add(computePhingCommand(pi, launcher));

1 comment on commit ffb569e

@schill32

This comment has been minimized.

Copy link

schill32 commented on ffb569e Dec 19, 2013

I am seeing a problem to where if my phing.bat folder is in my path environment window it will cause a problem. In the system configuration I have updated the global properties to supply the path for the home field (c:\php in my case). And have also updated the Phing section field of Phing HOME with c:\php. Is there another section that I should be updating?

Please sign in to comment.
You can’t perform that action at this time.