From 525c41bc881505fb4338aa128a5dd7bc9bc5b9a6 Mon Sep 17 00:00:00 2001 From: Chl Date: Sat, 14 Mar 2020 02:41:59 +0100 Subject: [PATCH] config.xml: some updates --- roles/jenkins-php-v1/templates/config.xml.j2 | 6 +- .../templates/jobs/config.xml.j2 | 1009 ++++++++++------- 2 files changed, 589 insertions(+), 426 deletions(-) diff --git a/roles/jenkins-php-v1/templates/config.xml.j2 b/roles/jenkins-php-v1/templates/config.xml.j2 index cff5f91..458c819 100644 --- a/roles/jenkins-php-v1/templates/config.xml.j2 +++ b/roles/jenkins-php-v1/templates/config.xml.j2 @@ -1,6 +1,8 @@ - + + jenkins.security.QueueItemAuthenticatorMonitor + {{ current_jenkins_version }} RUNNING 1 @@ -48,7 +50,7 @@ ${JENKINS_HOME}/workspace/${ITEM_FULL_NAME} ${ITEM_ROOTDIR}/builds - + false diff --git a/roles/jenkins-php-v1/templates/jobs/config.xml.j2 b/roles/jenkins-php-v1/templates/jobs/config.xml.j2 index 9eb61d1..121aa3a 100644 --- a/roles/jenkins-php-v1/templates/jobs/config.xml.j2 +++ b/roles/jenkins-php-v1/templates/jobs/config.xml.j2 @@ -1,10 +1,11 @@ - + + <img type="image/svg+xml" height="300" src="ws/build/pdepend/overview-pyramid.svg" width="500"></img> <img type="image/svg+xml" height="300" src="ws/build/pdepend/dependencies.svg" width="500"></img> false - + 2 @@ -33,42 +34,46 @@ false - - + + - - - + + + low [WARNINGS] - + true false false false - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + false false true + + + + @@ -76,403 +81,540 @@ - - - + + + low [CHECKSTYLE] - + true + false + false false - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + false + false + false build/logs/checkstyle.xml - - - + + + low [PMD] - + true + false + false false - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + false + false + false build/logs/pmd.xml - - - + + + low [DRY] - + true + false + false false - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + false + false + false build/logs/pmd-cpd.xml 50 25 - - - - A - Lines of code - Lines of Code - - - build/logs/phploc.csv - - - phploc - 100 - 123.csv - 0 - - false - - - B - Structures Containers - Count - - - build/logs/phploc.csv - - - phploc - 100 - 1107599928.csv - 0 - - false - - - C - Average Length - Average Lines of Code - - - build/logs/phploc.csv - - - phploc - 100 - 523405415.csv - 0 - - false - - - D - Relative Cyclomatic Complexity - Cyclomatic Complexity by Structure - - - build/logs/phploc.csv - - - phploc - 100 - 186376189.csv - 0 - - false - - - E - Types of Classes - Count - - - build/logs/phploc.csv - - - phploc - 100 - 594356163.csv - 0 - - false - - - F - Types of Methods - Count - - - build/logs/phploc.csv - - - phploc - 100 - 1019987862.csv - 0 - - false - - - G - Types of Constants - Count - - - build/logs/phploc.csv - - - phploc - 100 - 217648577.csv - 0 - - false - - - I - Testing - Count - - - build/logs/phploc.csv - - - phploc - 100 - 174807245.csv - 0 - - false - - - AB - Code Structure by Logical Lines of Code - Logical Lines of Code - - - build/logs/phploc.csv - - - phploc - 100 - 946905520.csv - 0 - - false - - - H - Types of Functions - Count - - - build/logs/phploc.csv - - - phploc - 100 - 1174623854.csv - 0 - - false - - - BB - Structure Objects - Count - - - build/logs/phploc.csv - - - phploc - 100 - 1234245913.csv - 0 - - false - - - - + + + + A - Lines of code + Lines of Code + + + build/logs/phploc.csv + + csv + + Lines of Code (LOC) + Non-Comment Lines of Code (NCLOC) + Comment Lines of Code (CLOC) + Logical Lines of Code (LLOC) + + INCLUDE_BY_STRING + Lines of Code (LOC),Comment Lines of Code (CLOC),Non-Comment Lines of Code (NCLOC),Logical Lines of Code (LLOC) + + + Lines of Code (LOC) + Comment Lines of Code (CLOC) + Non-Comment Lines of Code (NCLOC) + Logical Lines of Code (LLOC) + + + + false + + + phploc + 100 + 123.csv + 0 + + false + false + false + false + + + + + B - Structures Containers + Count + + + build/logs/phploc.csv + + csv + + Directories + Namespaces + Files + + INCLUDE_BY_STRING + Directories,Files,Namespaces + + + Directories + Files + Namespaces + + + + false + + + phploc + 100 + 1107599928.csv + 0 + + false + false + false + false + + + + + C - Average Length + Average Lines of Code + + + build/logs/phploc.csv + + csv + + Average Class Length (LLOC) + Average Function Length (LLOC) + Average Method Length (LLOC) + + INCLUDE_BY_STRING + Average Class Length (LLOC),Average Method Length (LLOC),Average Function Length (LLOC) + + + Average Class Length (LLOC) + Average Method Length (LLOC) + Average Function Length (LLOC) + + + + false + + + phploc + 100 + 523405415.csv + 0 + + false + false + false + false + + + + + D - Relative Cyclomatic Complexity + Cyclomatic Complexity by Structure + + + build/logs/phploc.csv + + csv + + Cyclomatic Complexity / Number of Methods + Cyclomatic Complexity / Lines of Code + + INCLUDE_BY_STRING + Cyclomatic Complexity / Lines of Code,Cyclomatic Complexity / Number of Methods + + + Cyclomatic Complexity / Lines of Code + Cyclomatic Complexity / Number of Methods + + + + false + + + phploc + 100 + 186376189.csv + 0 + + false + false + false + false + + + + + E - Types of Classes + Count + + + build/logs/phploc.csv + + csv + + Abstract Classes + Classes + Concrete Classes + + INCLUDE_BY_STRING + Classes,Abstract Classes,Concrete Classes + + + Classes + Abstract Classes + Concrete Classes + + + + false + + + phploc + 100 + 594356163.csv + 0 + + false + false + false + false + + + + + F - Types of Methods + Count + + + build/logs/phploc.csv + + csv + + Static Methods + Methods + Non-Static Methods + Non-Public Methods + Public Methods + + INCLUDE_BY_STRING + Methods,Non-Static Methods,Static Methods,Public Methods,Non-Public Methods + + + Methods + Non-Static Methods + Static Methods + Public Methods + Non-Public Methods + + + + false + + + phploc + 100 + 1019987862.csv + 0 + + false + false + false + false + + + + + G - Types of Constants + Count + + + build/logs/phploc.csv + + csv + + Class Constants + Constants + Global Constants + + INCLUDE_BY_STRING + Constants,Global Constants,Class Constants + + + Constants + Global Constants + Class Constants + + + + false + + + phploc + 100 + 217648577.csv + 0 + + false + false + false + false + + + + + I - Testing + Count + + + build/logs/phploc.csv + + csv + + Test Methods + Test Classes + + INCLUDE_BY_STRING + Test Classes,Test Methods + + + Test Classes + Test Methods + + + + false + + + phploc + 100 + 174807245.csv + 0 + + false + false + false + false + + + + + AB - Code Structure by Logical Lines of Code + Logical Lines of Code + + + build/logs/phploc.csv + + csv + + LLOC outside functions or classes + Classes Length (LLOC) + Logical Lines of Code (LLOC) + Functions Length (LLOC) + + INCLUDE_BY_STRING + Logical Lines of Code (LLOC),Classes Length (LLOC),Functions Length (LLOC),LLOC outside functions or classes + + + Logical Lines of Code (LLOC) + Classes Length (LLOC) + Functions Length (LLOC) + LLOC outside functions or classes + + + + false + + + phploc + 100 + 946905520.csv + 0 + + false + false + false + false + + + + + H - Types of Functions + Count + + + build/logs/phploc.csv + + csv + + Functions + Named Functions + Anonymous Functions + + INCLUDE_BY_STRING + Functions,Named Functions,Anonymous Functions + + + Functions + Named Functions + Anonymous Functions + + + + false + + + phploc + 100 + 1174623854.csv + 0 + + false + false + false + false + + + + + BB - Structure Objects + Count + + + build/logs/phploc.csv + + csv + + Constants + Functions + Interfaces + Traits + Methods + Classes + + INCLUDE_BY_STRING + Interfaces,Traits,Classes,Methods,Functions,Constants + + + Interfaces + Traits + Classes + Methods + Functions + Constants + + + + false + + + phploc + 100 + 1234245913.csv + 0 + + false + false + false + false + + + + + + true build/coverage build/logs/clover.xml @@ -483,27 +625,32 @@ - - + + build/logs/crap4j.xml - + - + API Documentation build/api index.html + false + true - htmlpublisher-wrapper.html + false + **/* + true - + build/logs/junit.xml - true + false + true true true @@ -523,17 +670,20 @@ 1 + + 3000 + 10 + true + + - + build/logs/jdepend.xml - + - - - + - checkstyle @@ -553,7 +703,7 @@ 999 999 false - + @@ -575,7 +725,7 @@ 999 999 false - + @@ -586,7 +736,7 @@ 999 999 false - + @@ -597,7 +747,7 @@ 999 999 false - + @@ -608,7 +758,7 @@ 999 999 false - + @@ -619,7 +769,7 @@ 999 999 false - + @@ -630,7 +780,7 @@ 999 999 false - + @@ -641,7 +791,7 @@ 999 999 false - + @@ -652,7 +802,18 @@ 999 999 false - + + + + + perlcritic + + perlcritic + 10 + 999 + 999 + false + @@ -674,7 +835,7 @@ 999 999 false - + @@ -685,7 +846,7 @@ 999 999 false - + @@ -696,19 +857,19 @@ 999 999 false - + 100 - - + + default - + false