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.

Revisions

  1. zerolaser created this gist Nov 2, 2016.
    25 changes: 25 additions & 0 deletions ci.gocd.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    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