Created
January 31, 2013 22:42
-
-
Save ericbmerritt/4687358 to your computer and use it in GitHub Desktop.
ansible tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: make directory for ${github_repo} | |
action: file dest=/var/lib/jenkins/jobs/${github_repo} state=directory | |
mode=0755 owner=jenkins group=jenkins | |
- name: configure the job for ${github_repo} | |
action: template src=../templates/ci/jobs/main_build_job.xml | |
dest=/var/lib/jenkins/jobs/${github_repo}/config.xml | |
owner=jenkins group=jenkins | |
- name: make directory for ${github_repo} | |
action: file dest=/var/lib/jenkins/jobs/${github_repo}_prb state=directory | |
mode=0755 owner=jenkins group=jenkins | |
- name: configure the job for ${github_repo} | |
action: template src=../templates/ci/jobs/pull_request_build_job.xml | |
dest=/var/lib/jenkins/jobs/${github_repo}_prb/config.xml | |
owner=jenkins group=jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment