首页 > 解决方案 > 如何在 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)

请帮忙。

标签: jenkinsclasp

解决方案


通过更改 Jenkins 的登录服务帐户修复了该问题。


推荐阅读