all:
hosts:
test-jenkins-via-ansible.example.net:
jenkins_plugins_system_dependency_supp:
- php-gd
- php-xml
- php-mbstring
- php-pgsql
- postgresql
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
jenkins2.example.net:
- php-curl
- php-zip
- php-bcmath
- php-intl
- php-soap
- php-mysql
- mariadb-server
jsmith-project:
repository_url: git@github.com:jsmith/project.git
branch_spec: 'refs/heads/feature/continuous-integration'
#branch_spec: '*/develop'
vars:
# Check if etckeeper is installed and /etc is clean
checketckeeper: True
# admin email address
jenkins_admin_email: postmaster@example.net