Search This Blog

Sunday, January 5, 2020

Jenkins :: 'cmd' is not recognized as an internal or external command, operable program or batch file. Build step 'Execute Windows batch command' marked build as failure

1. Open jenkins http://localhost:8080
2. Click Jenkins config (Manage Jenkins -> Configure System -> Global properties -> Environment variables: name=PATH, value= PATH >)


Note: add C:\WINDOWS\System32; rather than %SystemRoot%\system32


%systemroot% not taking in jenkins.

so your path value is C:\WINDOWS\System32;c:\jdk......




No comments:

Hit Counter


View My Stats