jenkins - 如何在 Jenkins 中配置 google clasp?
问题描述
我正在通过詹金斯自动化扣推。所以,到目前为止,我已经将 .clasprc.json 设置为 Jenkins 环境变量。卡扣安装在“C:\Users\superuser\AppData\Roaming\npm”中,可通过 cmd 访问。然而,詹金斯并没有意识到这一点。
cd c:/test
@echo %CLASPRC_CRED% 1>./.clasprc.json
clasp push (THE STEP THAT IS FAILING)
请帮忙。
解决方案
通过更改 Jenkins 的登录服务帐户修复了该问题。
推荐阅读
- c++ - 布尔值未正确返回?
- mongodb - 无法使用本地 pymongo 客户端访问 mongodb-replicaset
- amazon-web-services - 使用 Docker 和 AWS-SAM 部署 AWS 无服务器堆栈
- reactjs - 在类组件中使用 web3modal 显示状态错误
- css - 布尔玛与 Material-ui 冲突
- python - Jupyter notebook 将循环结果从一个单元更改为另一个单元?
- matplotlib - Matplotlib 背景与 vscode 主题不匹配
- android-studio - 如何更改 Android Studio 打开资产的默认软件?
- xamarin - 使用 CommunityToolKit.Mvvm amd Xamarin Forms 拦截属性更改
- java - JAVA:我无法将响应(json)从服务器发送回客户端