目前的环境不支持TTY的互动阅读? Azure管道,Anypoint

问题描述 投票:0回答:1

我正在尝试构建一个可以在AzureDevops中安装anypoint studio的管道。我添加了用于执行cli命令的命令行插件。但是在使用cli安装anypoint studio之后,我收到了图像中看到的错误。

管道如下:

npm cache clean -f
npm install -g n
sudo n stable
npm install -g anypoint-cli@latest
anypoint-cli --username="XXXX"

enter image description here

azure-devops azure-pipelines anypoint-studio
1个回答
1
投票

这意味着安装程序会提示您输入一些信息,但您显然无法在管道执行期间输入。

您需要找出正确的命令来静默安装它。

© www.soinside.com 2019 - 2024. All rights reserved.