--- - project: name: "app-ctl" jobs: - "{app}-ctl-{target}-{action}": app: "ldapadmin" target: "sphinkpad" action: "stop" - "{app}-ctl-{target}-{action}": app: "ldapadmin" target: "sphinkpad" action: "start" - "{app}-ctl-{target}-{action}": app: "ldapadmin" target: "ns" action: "stop" - "{app}-ctl-{target}-{action}": app: "ldapadmin" target: "ns" action: "start" - "{app}-ctl-{target}-{action}": app: "wro" target: "sphinkpad" action: "stop" - "{app}-ctl-{target}-{action}": app: "wro" target: "sphinkpad" action: "start" - "{app}-ctl-{target}-{action}": app: "wro" target: "ns" action: "stop" - "{app}-ctl-{target}-{action}": app: "wro" target: "ns" action: "start" - job-template: name: "{app}-ctl-{target}-{action}" project-type: freestyle node: "ansible" properties: - build-discarder: num-to-keep: 1 artifact-days-to-keep: 0 - build-blocker: use-build-blocker: true blocking-jobs: - "{app}.*pipeline" - "{app}-deploy.*" - "{app}-autodeploy.*" block_level: 'GLOBAL' queue-scanning: 'BUILDABLE' scm: - git: url: "git@ns.ckons.local:repos/{app}-installer.git" branches: - master builders: - shell: | ./{app}-ctl.sh {target} {action}