Tag: go cd

在gocdpipe道上运行nodejs命令

我创build了一个新的gocd pipeline并有三个shell script文件在不同的阶段运行。 问题是代理不知道npm 。 Note:我在安装了go代理的机器上安装了npm,并且手动从pipe道运行了shell脚本。 这是我的shell脚本来安装软件包。 #!/bin/sh npm install 错误: 01:34:43.674 [go] Start to execute task: <exec command="./install.sh" />. 01:34:43.680 ./install.sh: line 3: npm: command not found 01:34:43.814 [go] Current job status: failed.