我希望能够在我的gitlab管道的一个阶段内用一个特定的键调用登录前调用code-push logout。如果运行程序已经注销,我将得到一个错误:[Error] You are not currently logged in. Run the 'code-push login' command to authenticate with the CodePush server.,它失败了我的工作。有没有办法在不出错的情况下调用此命令。
发布于 2019-07-26 13:16:22
code-push cli没有此功能来禁用错误。您可以使用具有相同功能的appcenter (https://github.com/Microsoft/appcenter-cli)。有--quite字段,它禁用CI或其他任务的所有错误。
https://stackoverflow.com/questions/57103930
复制相似问题