20 lines
512 B
YAML
20 lines
512 B
YAML
---
|
|
# [샘플] Jenkins 파라미터 수정
|
|
|
|
property:
|
|
workspace: /path/to/project
|
|
|
|
pipeline:
|
|
id: main
|
|
workflow:
|
|
- exe: jenkins-param
|
|
|
|
commands:
|
|
# Jenkins job XML 파이프라인 파라미터 수정
|
|
- command: JenkinsParameterModify
|
|
id: jenkins-param
|
|
param:
|
|
content: "<hudson.model.ParametersDefinitionProperty><name>myParam</name><stringValue>default</stringValue></hudson.model.ParametersDefinitionProperty>"
|
|
name: "myParam"
|
|
value: "newValue"
|
|
setContent: <@property.modifiedContent>
|