我基本上是想在新添加的存储库中运行npm install和grunt build命令。
inputs:
- name: repo
- path:
run:
path: repo/
args:
- npm install
- grunt build发布于 2017-01-31 03:15:04
path:指的是容器中要执行的二进制/脚本的路径。
在Tasks文档中查看此示例:https://concourse-ci.org/tasks.html#task-environment
run:
path: sh
args:
- -exc
- |
whoami
envsh是要执行的程序,args被传递给sh程序
https://stackoverflow.com/questions/41942784
复制相似问题