HI, I'm trying to build a sample mobile app using Apache CORDOVA in the Jenkins Master-Slave environment. The source files are present on a Jenkins slave running Windows Server 2012. I've specified the cordova commands in a .bat file and specified its path in the "Execute Windows batch command".
The build fails saying that "'cordova' is not recognized as an internal or external command,operable program or batch file." I can very well run this batch file from cmd and it runs successfully. Can anyone help me with this issue? Additional info: Contents of the .bat file; echo Starting the CORDOVA Build process cd C:\Cordova_Projects\workshop call cordova platforms remove android call cordova platforms add android call cordova plugin add org.apache.cordova.device call cordova plugin add org.apache.cordova.console call cordova emulate android Jenkins work directory on slave - C:\Jenkins_Works Cordova project directory on slave - C:\Cordova_Projects\workshop Thanks, Shaji -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bacd4605-bf42-4aa3-a1e6-9a0a9339a777%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.