20 lines
736 B
YAML
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
|