PK
Size: a a a
PK
VK
tasks:
- name: modify job config
xml:
path: /ххх/jenkins/jobs/{{ item }}/config.xml
xpath: /project/publishers/org.jenkinsci.plugins.postbuildscript.PostBuildScript/config/buildSteps/org.jenkinsci.plugins.postbuildscript.model.PostBuildStep/buildSteps/hudson.tasks.Shell/command
value: "echo 'hello world'"
with_items: "{{ jobs }}"
- name: reload config for a job on remote master
shell: java -jar jenkins-cli.jar -s http://1.1.1.1:7777 -auth {{ jenkins_user }}:{{ jenkins_password }} reload-job {{ item }}
with_items: "{{ jobs }}"
VK
VK
VK
PK
I
VK
PK
VK
PK
EM
S
S
EM
S
S
S
EM