buildkite / feedback

Got feedback? Please let us know!
https://buildkite.com
25 stars 24 forks source link

multiple commands using the buildkite pipeline api #461

Open connaryscott opened 6 years ago

connaryscott commented 6 years ago

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?