Skip to content

Instantly share code, notes, and snippets.

@zerolaser
Created November 2, 2016 16:20
Show Gist options
  • Save zerolaser/c814a3527e82aac7fe316e9050b8f202 to your computer and use it in GitHub Desktop.
Save zerolaser/c814a3527e82aac7fe316e9050b8f202 to your computer and use it in GitHub Desktop.
environments:
example:
pipelines:
- mypipe
pipelines:
mypipe: # definition of yaml-example pipeline
group: yamlexample
label_template: "${mygit[:8]}"
locking: off
materials:
mygit: # this is the name of material
# keyword git says about type of material and url at once
git: https://github.com/gocd-contrib/getting-started-repo
branch: master
stages: # list of stages in order
- defaultStage: # name of stage
clean_workspace: true
jobs:
defaultJob: # name of the job
resources:
- java8
- linux
tasks: # ordered list of tasks to execute in job csharp
- exec: # indicates type of task
command: ./build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment