| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- environments:
- example:
- environment_variables:
- EXAMPLE_DEPLOYMENT: testing
- pipelines:
- - yaml-example
- pipelines:
- yamlpipe1:
- group: defaultGroup
- materials:
- dangjian: # this is the name of material
- # says about type of material and url at once
- git: http://git.izouma.com/xiongzhu/dangjian.git
- stages:
- - build: # name of stage
- jobs:
- build: # name of the job
- tasks:
- - exec: # indicates type of task
- command: make
- "yaml-example": # definition of yaml-example pipeline
- group: defaultGroup
- label_template: "${dangjian[:8]}"
- locking: off
- materials:
- mygit: # this is the name of material
- # keyword git says about type of material and url at once
- git: http://git.izouma.com/xiongzhu/dangjian.git
- branch: ci
- upstream:
- # type is optional here, material type is implied based on presence of pipeline and stage fields
- # type: dependency
- pipeline: yamlpipe1
- stage: build
- stages: # list of stages in order
- - build: # name of stage
- clean_workspace: true
- jobs:
- csharp: # name of the job
- resources:
- - net45
- artifacts:
- - build:
- source: bin/
- destination: build
- - test:
- source: tests/
- destination: test-reports/
- tabs:
- report: test-reports/index.html
- tasks: # ordered list of tasks to execute in job csharp
- - fetch:
- pipeline: yamlpipe1
- stage: build
- job: build
- source: test-bin/
- destination: bin/
- - exec: # indicates type of task
- command: make
- arguments:
- - "VERBOSE=true"
|