1
0
Fork 0
This repository has been archived on 2023-11-22. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
ansible-jenkins-php-v1/inventory.yml

20 lines
736 B
YAML

all:
hosts:
test-jenkins-via-ansible.example.net:
jobs:
template-php-v1: # Job template (deactivated) which can be manually cloned.
foo:
repository_url: ssh://git@code.example.net:2020/foo
post_build_shell_command: ssh jenkins@demos.example.net sg www-data /var/www/foo/build/deploy-update.sh $GIT_COMMIT
bar:
repository_url: ssh://git@code.example.net:2020/bar
branch_spec: '*/develop'
baz:
# Just a test to see if the default template can
# be run without any vars
vars:
# Check if etckeeper is installed and /etc is clean
checketckeeper: True
# admin email address
jenkins_admin_email: postmaster@example.net