Atl*_*ic0 2 continuous-integration concourse
我基本上想在新添加的repo中运行npm install和grunt build命令.
inputs:
- name: repo
- path:
run:
path: repo/
args:
- npm install
- grunt build
Run Code Online (Sandbox Code Playgroud)
path: 指容器中要执行的二进制/脚本的路径.
在这里的Tasks文档中查看此示例:https://concourse-ci.org/running-tasks.html#section_task-anatomy
run:
path: sh
args:
- -exc
- |
whoami
env
Run Code Online (Sandbox Code Playgroud)
sh是要执行的程序,并args传递给sh程序
| 归档时间: |
|
| 查看次数: |
5381 次 |
| 最近记录: |