GCloud 与 Jenkins - gcloud 命令不起作用

问题描述

我正在关注此 documentation,除了最后一部分 Jenkins 将在应用 Gradle 构建完成并生成调试 apk 后执行 GCloud 命令外,我几乎能够处理所有内容

enter image description here

我可以在任何地方使用认控制台执行 GCloud 命令,因为它的环境路径是在初始安装时设置的,但是 Jenkins 虽然在本地运行,但无法执行 GCloud 命令。

enter image description here

这是工作区的错误

enter image description here

更新

我将构建命令从“执行 shell”移动到“执行 Windows 批处理命令”但仍然无法识别

'gcloud' is not recognized as an internal or external command,operable program or batch file.

我已经阅读了许多与 SO 相关的问题,但没有一个我有用,一个是通过更改 Jenkins 服务登录,但这样做后我无法启动它。

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)