I am following this documentation and I was able to work on almost all of it except the last part where Jenkins will execute a GCloud command after app Gradle build is complete and generates a debug apk.
I can execute GCloud commands with default console anywhere since its environment path was set during initial installation, but Jenkins although running locally cannot execute GCloud commands.
This is the error of the workspace
UPDATE
I move the build command from "Execute shell" to "Execute Windows batch command" but still cannot recognize
'gcloud' is not recognized as an internal or external command,
operable program or batch file.
I read already numerous SO related question but none of it works on me, one is by changing Jenkins service Log On but I cannot start it after doing that.



