Skip to content

Commit bfe36c6

Browse files
authored
docs: add pipeline parameter in yaml (#5783)
1 parent 7088a37 commit bfe36c6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/content/docs/concepts/files/pipeline-syntax.md

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ Consider the following Pipeline which implements a basic two-stage continuous de
1313
```yaml
1414
version: v1.0
1515
name: build
16+
17+
parameters:
18+
param_name:
19+
type: string
20+
default: default_value
21+
1622
stages:
1723
- Compile
1824
- Package
@@ -28,6 +34,7 @@ jobs:
2834
directory: cds
2935
url: '{{.git.url}}'
3036
- script:
37+
- echo {{.cds.pip.param_name}}
3138
- cd cds/ui
3239
- npm set registry https://registry.npmjs.org
3340
- npm install

0 commit comments

Comments
 (0)