feedback icon indicating copy to clipboard operation
feedback copied to clipboard

multiple commands using the buildkite pipeline api

Open connaryscott opened this issue 6 years ago • 0 comments

In yaml, it is possible to use pipeline.yml and specify multiple commands.

When creating a pipeline using the api, this does not appear possible:

    {
      "type": "script",
      "name": "command: ecomqc",
      "command": [
        "echo aws --profile ecomqc s3 ls s3://"
      ],
      "env": {
        "AWS_SHARED_CREDENTIALS_FILE": "/tmp/aws-credentials-${BUILDKITE_BUILD_ID}"
      }
    }

where command is a list not a simple key. Is the api different here than what I would expect by looking at a pipeline yaml file?

connaryscott avatar Sep 29 '18 21:09 connaryscott