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/roles/jenkins-php-v1/defaults/main.yml
Chl 52e49a7d21 laravel5 skeleton: some updates
- logIncompleteSkipped : removed from recent phpunit versions
2020-02-12 21:03:13 +01:00

70 lines
2 KiB
YAML

---
jenkins_home: /var/lib/jenkins
#jenkins_updates_url:
#jenkins_plugins_install_dependencies:
# Where to find the 'admin' password
jenkins_admin_password_file: "{{ jenkins_home }}/secrets/initialAdminPassword"
# Where to find/generate the 'gitea' password which will be used
# by Gitea to push the webhook on the notifyCommit URL
jenkins_gitea_password_file: "{{ jenkins_home }}/secrets/giteaAnsiblePassword"
# Jenkin's username dedicated to launch the jobs via the webhook
giteaUsername: gitea
jenkins_cli_jar_location: /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar
jenkins_cli_command: java -jar "{{ jenkins_cli_jar_location }}" -s http://localhost:8080/ -auth admin:$( cat "{{ jenkins_admin_password_file | quote }}" )
# Id of the SSH key used to clone/pull from the repository
# and eventually to connect to the deploy host
jenkins_credential_keyid: deploykey1
jenkins_credential_keydesc: Deploy key n.1
# Default branch for git clone/pull in the job configuration
branch_spec: "*/master"
# Nginx/Jenkins configuration
nginx_vhost_main_hostname: "{{ ansible_fqdn }}"
nginx_vhost_resource_hostname: "resource.{{ ansible_fqdn }}"
nginx_vhost_ssl_certificate_file: "/etc/nginx/ssl/{{ nginx_vhost_main_hostname }}.crt"
nginx_vhost_ssl_key_file: "/etc/nginx/ssl/{{ nginx_vhost_main_hostname }}.key"
# null means "whether nginx_vhost_ssl_certificate_file exists on remote host"
nginx_vhost_ssl:
jenkins_plugins:
- credentials
- git
- git-client
- ssh
- ant
- ws-cleanup # workspace-cleanup : I prefer to be clean at each build start
# Taken from jenkins-php.org
- checkstyle
- cloverphp
- crap4j
- dry
- htmlpublisher
- jdepend
- plot
- pmd
- violations
- warnings
- xunit
jenkins_plugins_system_dependency:
- ant
- composer
- php-gd
- php-xml
- php-mbstring
- php-mysql
- php-pgsql
- php-xdebug # for the code coverage
- mariadb-server
- postgresql
- phpunit # TODO: test if we can use the /vendor one ?
- php-codesniffer
- phploc
- pdepend
- phpmd
- phpcpd
- phpdox