Here is an example using a multi-line YAML string.
assets: - dev.sql.gz steps: - name: List Pull Request files plugin: Script script: | gunzip -c $ASSET_DIR/dev.sql.gz | `mysql foo` rm $ASSET_DIR/dev.sql.gz cd $SRC_DIR files=$(ls) echo "Listing all files included in this Pull Request..." echo files $files
Here is an example using traditional YAML syntax.
assets: - dev.sql.gz steps: - name: List Pull Request files plugin: Script script: - gunzip -c $ASSET_DIR/dev.sql.gz | `mysql foo` - rm $ASSET_DIR/dev.sql.gz - cd $SRC_DIR - files=$(ls) - echo "Listing all files included in this Pull Request..." - echo files $files