Skip to content

Instantly share code, notes, and snippets.

@hatchan
Created July 16, 2014 13:25
Show Gist options
  • Save hatchan/9948b3e3b2e579ccd570 to your computer and use it in GitHub Desktop.
Save hatchan/9948b3e3b2e579ccd570 to your computer and use it in GitHub Desktop.
build:
steps:
- script:
name: step
code: >
if [ true ]; then
echo "true";
fi
# The > operator removes all new lines and extra space
# the code parameter becomes: if [ true ]; then echo "true"; fi
# as opposed to using the | operator, which becomes: if [ true ];\n then echo "true";\n fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment