It needs to be “Path”, not “PATH”.
Jenkins treats this special variable in a case-sensitive way, and only “Path” is recognized as being the path variable. “PATH” looks to jenkins like a generic environment variable, even on Windows.
More Related Contents:
- Adding a directory to the PATH environment variable in Windows
- ‘git’ is not recognized as an internal or external command
- OpenSSL and error in reading openssl.conf file
- Access to build environment variables from a groovy script in a Jenkins build step (Windows)
- What is the difference between user variables and system variables?
- Error “‘git’ is not recognized as an internal or external command”
- How do you avoid over-populating the PATH Environment Variable in Windows?
- Example of delayed expansion in batch file
- Why does the 260 character path length limit exist in Windows?
- Jenkins : Selenium GUI tests are not visible on Windows
- Setting a system environment variable from a Windows batch file?
- Where are environment variables stored in the Windows Registry?
- Where can I find my .emacs file for Emacs running on Windows?
- Set a persistent environment variable from cmd.exe
- ‘chcp’ is not recognized as an internal or external command, operable program or batch file. on a Windows PC
- Open Excel on Jenkins CI
- Timed out receiving message from renderer: 10.000 while capturing screenshot using chromedriver and chrome through Jenkins on Windows
- Permission denied (publickey) when setting up Jenkins
- How do I add to the Windows PATH variable using setx? Having weird problems
- “invalid path 0 files copied” Error while using xcopy command
- how to get program files x86 env variable?
- Remove unwanted path name from %path% variable via batch
- List all environment variables from the command line
- How do I add Ruby to the PATH variable on Windows?
- How to start jenkins on different port rather than 8080 using command prompt in Windows?
- How to update system PATH variable permanently from cmd?
- How to install Qt on Windows after building?
- Setting environment variables in pre-build event and using in compilation step
- Start/Stop and Restart Jenkins service on Windows
- What are these strange environment variables?