Skip to content

Commit

Permalink
docs: add pipeline parameter in yaml (#5783)
Browse files Browse the repository at this point in the history
  • Loading branch information
sguiheux authored Apr 8, 2021
1 parent 7088a37 commit bfe36c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/content/docs/concepts/files/pipeline-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ Consider the following Pipeline which implements a basic two-stage continuous de
```yaml
version: v1.0
name: build

parameters:
param_name:
type: string
default: default_value

stages:
- Compile
- Package
Expand All @@ -28,6 +34,7 @@ jobs:
directory: cds
url: '{{.git.url}}'
- script:
- echo {{.cds.pip.param_name}}
- cd cds/ui
- npm set registry https://registry.npmjs.org
- npm install
Expand Down

0 comments on commit bfe36c6

Please sign in to comment.