If you try adding echo %PATH%
to your Windows batch script or echo $PATH
to your shell script, do you see if the location of zowe CLI (default %APPDATA%/npm/ e.g. C:\Users\xxx\AppData\Roaming\npm ) in the path? It’s possible Jenkins is setting up a different PATH than what you are using in your shell. Not sure if there is a way to configure jenkins so that it just uses the system’s path variable, if that is indeed the problem.
1 Like