oto/assets/pipeline-test2.yaml
2025-08-20 15:47:52 +09:00

51 lines
No EOL
877 B
YAML

---
property:
workspace: .
value:
- test1
- test2
- test3
- test4
pipeline:
id: main
workflow:
- exe: read
- exe: param-modify
# - exe: write
commands:
### Strings Read
- command: FileRead
id: read
param:
showPrint: false
path: <!property.workspace>/assets/config.xml
setContent: <@property.content>
### Replace
- command: StringReplace
id: replace
param:
showPrint: true
text: <!property.content>
pair:
- from: <description>
to: <test>
setValue: <@property.content>
- command: JenkinsParameterModify
id: param-modify
param:
content: <!property.content>
name: branch
value: <!property.value>
setContent: <@property.content>
### Gradle Write
- command: FileWrite
id: write
param:
path: /Users/leedongmyung/works/oto_cli/assets/config_new.xml
content: <!property.content>