First commit
This commit is contained in:
commit
e54b5a5663
24 changed files with 3047 additions and 0 deletions
47
roles/jenkins-php-v1/defaults/main.yml
Normal file
47
roles/jenkins-php-v1/defaults/main.yml
Normal file
|
@ -0,0 +1,47 @@
|
|||
---
|
||||
|
||||
jenkins_home: /var/lib/jenkins
|
||||
jenkins_cli_jar_location: /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar
|
||||
#jenkins_updates_url:
|
||||
#jenkins_plugins_install_dependencies:
|
||||
jenkins_admin_password_file: "{{ jenkins_home }}/secrets/initialAdminPassword"
|
||||
jenkins_gitea_password_file: "{{ jenkins_home }}/secrets/giteaAnsiblePassword"
|
||||
jenkins_cli_command: java -jar "{{ jenkins_cli_jar_location }}" -s http://localhost:8080/ -auth admin:$( cat "{{ jenkins_admin_password_file | quote }}" )
|
||||
jenkins_credential_keyid: deploykey1
|
||||
jenkins_credential_keydesc: Deploy key n.1
|
||||
|
||||
jenkins_plugins:
|
||||
- credentials
|
||||
- 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-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
|
Reference in a new issue