Jordi Gil commented on Bug JENKINS-2728

Onno,

I managed to get it working on my environment. Here is what I did:

  1. Added the %ANT_HOME%\bin; into the system path, but added it in the beginning (you can safely add it as the second or third, but I found that appending it at the end of the path didn't work, can't say why.
  2. You can test that works by opening a CMD.exe shell and executing "cmd /C 'ant.bat'" anywhere but in the %ANT_HOME%\bin directory. If it find the ant.bat then you're already 50% there. If not, then the problem is that CMD.exe cannot find the %ANT_HOME%\bin directory. Keep retrying until it gets it right.
  3. If the job keeps complaining it cannot find the ant.bat after this, then remove the slave and add it again. I tried to disconnect it but it didn't work. You can check the system path through the node console println System.getenv("PATH") and make sure that you can see the %ANT_HOME%\bin listed as the first or following, but not at the end of the string.

Cheers,

/Jordi

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to