Command line interface 使用Wercker CLI进行构建和部署

Command line interface 使用Wercker CLI进行构建和部署,command-line-interface,wercker,Command Line Interface,Wercker,我在Wercker网站上配置了一个Wercker应用程序,它们的管道build和deploy工作正常 现在,我的部署有问题,我正尝试使用Wercker CLI执行同样的操作。以下是我将遵循的步骤: $ wercker build --> No Docker host specified, checking: unix:///var/run/docker.sock --> Executing pipeline --> Running step: setup environment

我在Wercker网站上配置了一个Wercker应用程序,它们的管道
build
deploy
工作正常

现在,我的部署有问题,我正尝试使用Wercker CLI执行同样的操作。以下是我将遵循的步骤:

$ wercker build
--> No Docker host specified, checking: unix:///var/run/docker.sock
--> Executing pipeline
--> Running step: setup environment
[...]
--> Steps passed: 154.70s
--> Pipeline finished: 155.70s
$ wercker deploy --deploy-target stage
--> No Docker host specified, checking: unix:///var/run/docker.sock
--> Executing pipeline
--> Running step: setup environment
[...]
--> Running step: setup configuration files
bash: config-setup.sh: No such file or directory
--> Step failed: setup configuration files 0.81s
--> Pipeline failed: 43.98s
WARNING Box container has already stopped.
FATAL Step failed: setup configuration files
构建
管道的最后步骤中,我在
$WERCKER\u OUTPUT\u DIR
上留下了一些文件(包括
config setup.sh
)(其值为
/pipeline/OUTPUT
)。这些文件在
deploy
管道上使用这在Wercker网站上有效,但不适用于Wercker CLI。

我想我缺少了一些参数,让
deploy
管道知道
$WERCKER\u OUTPUT\u DIR
上保存的文件在哪里。你能帮帮我吗


编辑:我手动模拟了
构建
管道的执行,并将文件保存在同一个源代码文件夹中。之后,我可以运行
werckerdeploy
。当然,这只是一个解决办法

你能包括你的wercker.yml文件吗?我猜环境变量已经解决了。。。