Skip to content

Instantly share code, notes, and snippets.

@johnsimons
Created September 10, 2018 02:02
Show Gist options
  • Select an option

  • Save johnsimons/261bf526e9b32317a1f6f99839cf414d to your computer and use it in GitHub Desktop.

Select an option

Save johnsimons/261bf526e9b32317a1f6f99839cf414d to your computer and use it in GitHub Desktop.
testing yaml escaping
title: ServiceControl Capacity Planning
pipelines:
default:
- step:
name: Deploy to Octopus
image: "octopusdeploy/octo:4.37.0-alpine"
script:
- "export VERSION=1.0.$BITBUCKET_BUILD_NUMBER"
- "octo create-release --project \"Project With Spaces\" --version $VERSION --server $OCTOPUS_SERVER --apiKey $OCTOPUS_APIKEY"
- "octo deploy-release --project \"Project With Spaces\" --version $VERSION --server $OCTOPUS_SERVER --apiKey $OCTOPUS_APIKEY"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment