如何在大厅管道中运行一个小命令?

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)

Top*_*ock 9

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程序