Created
January 29, 2012 22:58
-
-
Save anonymous/1701198 to your computer and use it in GitHub Desktop.
Continuous Integration for PHP on XAMPP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
GOTO weiter | |
:setenv | |
SET ANT_HOME=\xampp\apache_ant | |
SET JAVA_HOME=\xampp\jdk | |
SET CLASSPATH= | |
SET PATH=%ANT_HOME%\bin;%JAVA_HOME%\bin;%PATH% | |
SET "MIBDIRS=%~dp0php\extras\mibs" | |
SET "MIBDIRS=%MIBDIRS:\=/%" | |
SET "MYSQL_HOME=%~dp0mysql\bin" | |
SET "OPENSSL_CONF=%~dp0apache\bin\openssl.cnf" | |
SET "OPENSSL_CONF=%OPENSSL_CONF:\=/%" | |
SET "PHP_PEAR_SYSCONF_DIR=%~dp0php" | |
SET "PHPRC=%~dp0php" | |
SET "TMP=%~dp0tmp" | |
SET "PERL5LIB=" | |
SET "Path=%~dp0;%~dp0php;%~dp0perl\site\bin;%~dp0perl\bin;%~dp0apache\bin;%~dp0mysql\bin;%~dp0FileZillaFTP;%~dp0MercuryMail;%~dp0sendmail;%~dp0webalizer;%~dp0tomcat\bin;%Path%" | |
GOTO :EOF | |
:weiter | |
IF "%1" EQU "setenv" ( | |
ECHO. | |
ECHO Setting environment for using XAMPP for Windows. | |
CALL :setenv | |
) ELSE ( | |
SETLOCAL | |
TITLE XAMPP for Windows | |
PROMPT %username%@%computername%$S$P$_#$S | |
START "" /B %COMSPEC% /K "%~f0" setenv | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="myProject" default="build" basedir="."> | |
<property name="source" value="src"/> | |
<property name="phpdir" value="\xampp\php"/> | |
<target name="taskOrder" description="Run the tasks in the order specified here."> | |
<sequential> | |
<antcall target="clean"/> | |
<antcall target="phpunit"/> | |
<antcall target="pdepend"/> | |
<antcall target="phpmd"/> | |
<antcall target="phpcpd"/> | |
<antcall target="phpcs"/> | |
<!--antcall target="apigen"/--> | |
<antcall target="phpdoc"/> | |
<antcall target="phploc"/> | |
<antcall target="phpcb"/> | |
</sequential> | |
</target> | |
<target name="clean" description="Clean up and create artifact directories"> | |
<delete dir="${basedir}\build\api"/> | |
<delete dir="${basedir}\build\code-browser"/> | |
<delete dir="${basedir}\build\coverage"/> | |
<delete dir="${basedir}\build\logs"/> | |
<delete dir="${basedir}\build\pdepend"/> | |
<delete dir="${basedir}\build\pmd"/> | |
<delete dir="${basedir}\build\testdox"/> | |
<delete dir="${basedir}\build\phpunit"/> | |
<!--delete dir="${basedir}\build\apigen"/--> | |
<mkdir dir="${basedir}\build\api"/> | |
<mkdir dir="${basedir}\build\code-browser"/> | |
<mkdir dir="${basedir}\build\coverage"/> | |
<mkdir dir="${basedir}\build\logs"/> | |
<mkdir dir="${basedir}\build\pdepend"/> | |
<mkdir dir="${basedir}\build\pmd"/> | |
<mkdir dir="${basedir}\build\testdox"/> | |
<mkdir dir="${basedir}\build\phpunit"/> | |
<!--mkdir dir="${basedir}\build\apigen"/--> | |
</target> | |
<target name="phpunit" description="Run unit tests using PHPUnit and generates junit.xml and clover.xml"> | |
<exec executable="cmd.exe" output="${basedir}\build\phpunit\phpunit.txt"> | |
<arg value="/c"/> | |
<arg value="${phpdir}\phpunit.bat"/> | |
<arg value="--configuration"/> | |
<arg value="phpunit.xml"/> | |
</exec> | |
</target> | |
<target name="pdepend" description="Generate jdepend.xml and software metrics charts using PHP_Depend"> | |
<exec executable="cmd.exe"> | |
<arg value="/c"/> | |
<arg value="${phpdir}\pdepend.bat"/> | |
<arg value="--jdepend-xml=${basedir}\build\logs\jdepend.xml"/> | |
<arg value="--jdepend-chart=${basedir}\build\pdepend\dependencies.svg"/> | |
<arg value="--overview-pyramid=${basedir}\build\pdepend\overview-pyramid.svg"/> | |
<arg value="${source}"/> | |
</exec> | |
</target> | |
<target name="phpmd" description="Generate pmd.xml using PHPMD"> | |
<exec executable="cmd.exe"> | |
<arg value="/c"/> | |
<arg value="${phpdir}\phpmd.bat"/> | |
<arg value="${source}"/> | |
<arg value="xml"/> | |
<arg value="codesize,design,naming,unusedcode"/> | |
<arg value="--strict"/> | |
<arg value="--reportfile"/> | |
<arg value="${basedir}\build\logs\pmd.xml"/> | |
</exec> | |
</target> | |
<target name="phpmd-html" description="Generate pmd.html using PHPMD"> | |
<exec executable="cmd.exe"> | |
<arg value="/c"/> | |
<arg value="${phpdir}\phpmd.bat"/> | |
<arg value="${source}"/> | |
<arg value="html"/> | |
<arg value="codesize,design,naming,unusedcode"/> | |
<arg value="--strict"/> | |
<arg value="--reportfile"/> | |
<arg value="${basedir}\build\pmd\pmd.html"/> | |
</exec> | |
</target> | |
<target name="phpcpd" description="Generate pmd-cpd.xml using PHPCPD"> | |
<exec executable="cmd.exe"> | |
<arg value="/c"/> | |
<arg value="${phpdir}\phpcpd.bat"/> | |
<arg value="--log-pmd"/> | |
<arg value="${basedir}\build\logs\pmd-cpd.xml"/> | |
<arg value="${source}"/> | |
</exec> | |
</target> | |
<target name="phploc" description="Generate phploc.csv"> | |
<exec executable="cmd.exe"> | |
<arg value="/c"/> | |
<arg value="${phpdir}\phploc.bat"/> | |
<arg value="--log-csv"/> | |
<arg value="${basedir}\build\logs\phploc.csv"/> | |
<arg value="${source}"/> | |
</exec> | |
</target> | |
<target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer"> | |
<exec executable="cmd.exe"> | |
<arg value="/c"/> | |
<arg value="${phpdir}\phpcs.bat"/> | |
<arg value="--report=checkstyle"/> | |
<arg value="--report-file=${basedir}\build\logs\checkstyle.xml"/> | |
<arg value="--tab-width=4"/> | |
<arg value="--standard=Zend"/> | |
<arg value="${source}"/> | |
</exec> | |
</target> | |
<!--target name="apigen" description="Generate API documentation using ApiGen"> | |
<exec executable="cmd.exe"> | |
<arg value="/c"/> | |
<arg value="${phpdir}\apigen.bat"/> | |
<arg value="--source"/> | |
<arg value="${source}"/> | |
<arg value="--destination"/> | |
<arg value="${basedir}\build\apigen"/> | |
<arg value="--deprecated"/> | |
<arg value="yes"/> | |
<arg value="--todo"/> | |
<arg value="yes"/> | |
<arg value="--download"/> | |
<arg value="yes"/> | |
<arg value="--report"/> | |
<arg value="${basedir}/build/logs/checkstyle2.xml"/> | |
<arg value="--wipeout"/> | |
<arg value="no"/> | |
</exec> | |
</target--> | |
<target name="phpdoc" description="Generate API documentation using PHPDocumentor"> | |
<exec executable="cmd.exe"> | |
<arg value="/c"/> | |
<arg value="${phpdir}\phpdoc.bat"/> | |
<arg value="--sourcecode"/> | |
<arg value="on"/> | |
<arg value="--title"/> | |
<arg value="${ant.project.name}"/> | |
<arg value="--defaultpackagename"/> | |
<arg value="${ant.project.name}"/> | |
<arg value="--defaultcategoryname"/> | |
<arg value="${ant.project.name}"/> | |
<arg value="--directory"/> | |
<arg value="${source}"/> | |
<arg value="--target"/> | |
<arg value="${basedir}\build\api"/> | |
</exec> | |
</target> | |
<target name="phpcb" description="Aggregate tool output with PHP_CodeBrowser"> | |
<exec executable="cmd.exe"> | |
<arg value="/c"/> | |
<arg value="${phpdir}\phpcb.bat"/> | |
<arg value="--log"/> | |
<arg value="${basedir}\build\logs"/> | |
<arg value="--source"/> | |
<arg value="${source}"/> | |
<arg value="--output"/> | |
<arg value="${basedir}\build\code-browser"/> | |
</exec> | |
</target> | |
<target name="build" depends="taskOrder"/> | |
</project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<project> | |
<actions/> | |
<description><embed height="300" src="ws/build/pdepend/overview-pyramid.svg" type="image/svg+xml" width="500"></embed>
 | |
<embed height="300" src="ws/build/pdepend/dependencies.svg" type="image/svg+xml" width="500"></embed></description> | |
<keepDependencies>false</keepDependencies> | |
<properties/> | |
<scm class="hudson.scm.NullSCM"/> | |
<canRoam>true</canRoam> | |
<disabled>false</disabled> | |
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | |
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | |
<triggers class="vector"/> | |
<concurrentBuild>false</concurrentBuild> | |
<builders> | |
<hudson.tasks.Ant> | |
<targets></targets> | |
<antName>ant</antName> | |
</hudson.tasks.Ant> | |
</builders> | |
<publishers> | |
<hudson.plugins.checkstyle.CheckStylePublisher> | |
<healthy></healthy> | |
<unHealthy></unHealthy> | |
<thresholdLimit>low</thresholdLimit> | |
<pluginName>[CHECKSTYLE] </pluginName> | |
<defaultEncoding></defaultEncoding> | |
<canRunOnFailed>true</canRunOnFailed> | |
<useDeltaValues>false</useDeltaValues> | |
<thresholds> | |
<unstableTotalAll></unstableTotalAll> | |
<unstableTotalHigh></unstableTotalHigh> | |
<unstableTotalNormal></unstableTotalNormal> | |
<unstableTotalLow></unstableTotalLow> | |
<unstableNewAll></unstableNewAll> | |
<unstableNewHigh></unstableNewHigh> | |
<unstableNewNormal></unstableNewNormal> | |
<unstableNewLow></unstableNewLow> | |
<failedTotalAll></failedTotalAll> | |
<failedTotalHigh></failedTotalHigh> | |
<failedTotalNormal></failedTotalNormal> | |
<failedTotalLow></failedTotalLow> | |
<failedNewAll></failedNewAll> | |
<failedNewHigh></failedNewHigh> | |
<failedNewNormal></failedNewNormal> | |
<failedNewLow></failedNewLow> | |
</thresholds> | |
<shouldDetectModules>false</shouldDetectModules> | |
<dontComputeNew>false</dontComputeNew> | |
<pattern>build/logs/checkstyle.xml</pattern> | |
</hudson.plugins.checkstyle.CheckStylePublisher> | |
<hudson.plugins.pmd.PmdPublisher> | |
<healthy></healthy> | |
<unHealthy></unHealthy> | |
<thresholdLimit>low</thresholdLimit> | |
<pluginName>[PMD] </pluginName> | |
<defaultEncoding></defaultEncoding> | |
<canRunOnFailed>true</canRunOnFailed> | |
<useDeltaValues>false</useDeltaValues> | |
<thresholds> | |
<unstableTotalAll></unstableTotalAll> | |
<unstableTotalHigh></unstableTotalHigh> | |
<unstableTotalNormal></unstableTotalNormal> | |
<unstableTotalLow></unstableTotalLow> | |
<unstableNewAll></unstableNewAll> | |
<unstableNewHigh></unstableNewHigh> | |
<unstableNewNormal></unstableNewNormal> | |
<unstableNewLow></unstableNewLow> | |
<failedTotalAll></failedTotalAll> | |
<failedTotalHigh></failedTotalHigh> | |
<failedTotalNormal></failedTotalNormal> | |
<failedTotalLow></failedTotalLow> | |
<failedNewAll></failedNewAll> | |
<failedNewHigh></failedNewHigh> | |
<failedNewNormal></failedNewNormal> | |
<failedNewLow></failedNewLow> | |
</thresholds> | |
<shouldDetectModules>false</shouldDetectModules> | |
<dontComputeNew>false</dontComputeNew> | |
<pattern>build/logs/pmd.xml</pattern> | |
</hudson.plugins.pmd.PmdPublisher> | |
<hudson.plugins.dry.DryPublisher> | |
<healthy></healthy> | |
<unHealthy></unHealthy> | |
<thresholdLimit>low</thresholdLimit> | |
<pluginName>[DRY] </pluginName> | |
<defaultEncoding></defaultEncoding> | |
<canRunOnFailed>true</canRunOnFailed> | |
<useDeltaValues>false</useDeltaValues> | |
<thresholds> | |
<unstableTotalAll></unstableTotalAll> | |
<unstableTotalHigh></unstableTotalHigh> | |
<unstableTotalNormal></unstableTotalNormal> | |
<unstableTotalLow></unstableTotalLow> | |
<unstableNewAll></unstableNewAll> | |
<unstableNewHigh></unstableNewHigh> | |
<unstableNewNormal></unstableNewNormal> | |
<unstableNewLow></unstableNewLow> | |
<failedTotalAll></failedTotalAll> | |
<failedTotalHigh></failedTotalHigh> | |
<failedTotalNormal></failedTotalNormal> | |
<failedTotalLow></failedTotalLow> | |
<failedNewAll></failedNewAll> | |
<failedNewHigh></failedNewHigh> | |
<failedNewNormal></failedNewNormal> | |
<failedNewLow></failedNewLow> | |
</thresholds> | |
<shouldDetectModules>false</shouldDetectModules> | |
<dontComputeNew>false</dontComputeNew> | |
<pattern>build/logs/pmd-cpd.xml</pattern> | |
<highThreshold>50</highThreshold> | |
<normalThreshold>25</normalThreshold> | |
</hudson.plugins.dry.DryPublisher> | |
<hudson.plugins.plot.PlotPublisher> | |
<plots> | |
<hudson.plugins.plot.Plot> | |
<title>A - Lines of code</title> | |
<yaxis>Lines of Code</yaxis> | |
<series> | |
<hudson.plugins.plot.CSVSeries> | |
<file>build/logs/phploc.csv</file> | |
<label></label> | |
<fileType>csv</fileType> | |
<strExclusionSet> | |
<string>Lines of Code (LOC)</string> | |
<string>Comment Lines of Code (CLOC)</string> | |
<string>Non-Comment Lines of Code (NCLOC)</string> | |
</strExclusionSet> | |
<inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
<exclusionValues>Lines of Code (LOC),Comment Lines of Code (CLOC),Non-Comment Lines of Code (NCLOC)</exclusionValues> | |
<url></url> | |
<displayTableFlag>false</displayTableFlag> | |
</hudson.plugins.plot.CSVSeries> | |
</series> | |
<group>phploc</group> | |
<numBuilds>100</numBuilds> | |
<csvFileName>123.csv</csvFileName> | |
<csvLastModification>0</csvLastModification> | |
<style>line</style> | |
<useDescr>false</useDescr> | |
</hudson.plugins.plot.Plot> | |
<hudson.plugins.plot.Plot> | |
<title>B - Structures</title> | |
<yaxis>Count</yaxis> | |
<series> | |
<hudson.plugins.plot.CSVSeries> | |
<file>build/logs/phploc.csv</file> | |
<label></label> | |
<fileType>csv</fileType> | |
<strExclusionSet> | |
<string>Functions</string> | |
<string>Classes</string> | |
<string>Namespaces</string> | |
<string>Files</string> | |
<string>Directories</string> | |
<string>Methods</string> | |
<string>Interfaces</string> | |
<string>Constants</string> | |
<string>Anonymous Functions</string> | |
</strExclusionSet> | |
<inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
<exclusionValues>Directories,Files,Namespaces,Interfaces,Classes,Methods,Functions,Anonymous Functions,Constants</exclusionValues> | |
<url></url> | |
<displayTableFlag>false</displayTableFlag> | |
</hudson.plugins.plot.CSVSeries> | |
</series> | |
<group>phploc</group> | |
<numBuilds>100</numBuilds> | |
<csvFileName>1107599928.csv</csvFileName> | |
<csvLastModification>0</csvLastModification> | |
<style>line</style> | |
<useDescr>false</useDescr> | |
</hudson.plugins.plot.Plot> | |
<hudson.plugins.plot.Plot> | |
<title>G - Average Length</title> | |
<yaxis>Average Non-Comment Lines of Code</yaxis> | |
<series> | |
<hudson.plugins.plot.CSVSeries> | |
<file>build/logs/phploc.csv</file> | |
<label></label> | |
<fileType>csv</fileType> | |
<strExclusionSet> | |
<string>Average Method Length (NCLOC)</string> | |
<string>Average Class Length (NCLOC)</string> | |
</strExclusionSet> | |
<inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
<exclusionValues>Average Class Length (NCLOC),Average Method Length (NCLOC)</exclusionValues> | |
<url></url> | |
<displayTableFlag>false</displayTableFlag> | |
</hudson.plugins.plot.CSVSeries> | |
</series> | |
<group>phploc</group> | |
<numBuilds>100</numBuilds> | |
<csvFileName>523405415.csv</csvFileName> | |
<csvLastModification>0</csvLastModification> | |
<style>line</style> | |
<useDescr>false</useDescr> | |
</hudson.plugins.plot.Plot> | |
<hudson.plugins.plot.Plot> | |
<title>H - Relative Cyclomatic Complexity</title> | |
<yaxis>Cyclomatic Complexity by Strcuture</yaxis> | |
<series> | |
<hudson.plugins.plot.CSVSeries> | |
<file>build/logs/phploc.csv</file> | |
<label></label> | |
<fileType>csv</fileType> | |
<strExclusionSet> | |
<string>Cyclomatic Complexity / Lines of Code</string> | |
<string>Cyclomatic Complexity / Number of Methods</string> | |
</strExclusionSet> | |
<inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
<exclusionValues>Cyclomatic Complexity / Lines of Code,Cyclomatic Complexity / Number of Methods</exclusionValues> | |
<url></url> | |
<displayTableFlag>false</displayTableFlag> | |
</hudson.plugins.plot.CSVSeries> | |
</series> | |
<group>phploc</group> | |
<numBuilds>100</numBuilds> | |
<csvFileName>186376189.csv</csvFileName> | |
<csvLastModification>0</csvLastModification> | |
<style>line</style> | |
<useDescr>false</useDescr> | |
</hudson.plugins.plot.Plot> | |
<hudson.plugins.plot.Plot> | |
<title>D - Types of Classes</title> | |
<yaxis>Count</yaxis> | |
<series> | |
<hudson.plugins.plot.CSVSeries> | |
<file>build/logs/phploc.csv</file> | |
<label></label> | |
<fileType>csv</fileType> | |
<strExclusionSet> | |
<string>Abstract Classes</string> | |
<string>Classes</string> | |
<string>Concrete Classes</string> | |
</strExclusionSet> | |
<inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
<exclusionValues>Classes,Abstract Classes,Concrete Classes</exclusionValues> | |
<url></url> | |
<displayTableFlag>false</displayTableFlag> | |
</hudson.plugins.plot.CSVSeries> | |
</series> | |
<group>phploc</group> | |
<numBuilds>100</numBuilds> | |
<csvFileName>594356163.csv</csvFileName> | |
<csvLastModification>0</csvLastModification> | |
<style>line</style> | |
<useDescr>false</useDescr> | |
</hudson.plugins.plot.Plot> | |
<hudson.plugins.plot.Plot> | |
<title>E - Types of Methods</title> | |
<yaxis>Count</yaxis> | |
<series> | |
<hudson.plugins.plot.CSVSeries> | |
<file>build/logs/phploc.csv</file> | |
<label></label> | |
<fileType>csv</fileType> | |
<strExclusionSet> | |
<string>Methods</string> | |
<string>Static Methods</string> | |
<string>Non-Static Methods</string> | |
<string>Public Methods</string> | |
<string>Non-Public Methods</string> | |
</strExclusionSet> | |
<inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
<exclusionValues>Methods,Non-Static Methods,Static Methods,Public Methods,Non-Public Methods</exclusionValues> | |
<url></url> | |
<displayTableFlag>false</displayTableFlag> | |
</hudson.plugins.plot.CSVSeries> | |
</series> | |
<group>phploc</group> | |
<numBuilds>100</numBuilds> | |
<csvFileName>1019987862.csv</csvFileName> | |
<csvLastModification>0</csvLastModification> | |
<style>line</style> | |
<useDescr>false</useDescr> | |
</hudson.plugins.plot.Plot> | |
<hudson.plugins.plot.Plot> | |
<title>F - Types of Constants</title> | |
<yaxis>Count</yaxis> | |
<series> | |
<hudson.plugins.plot.CSVSeries> | |
<file>build/logs/phploc.csv</file> | |
<label></label> | |
<fileType>csv</fileType> | |
<strExclusionSet> | |
<string>Class Constants</string> | |
<string>Global Constants</string> | |
<string>Constants</string> | |
</strExclusionSet> | |
<inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
<exclusionValues>Constants,Global Constants,Class Constants</exclusionValues> | |
<url></url> | |
<displayTableFlag>false</displayTableFlag> | |
</hudson.plugins.plot.CSVSeries> | |
</series> | |
<group>phploc</group> | |
<numBuilds>100</numBuilds> | |
<csvFileName>217648577.csv</csvFileName> | |
<csvLastModification>0</csvLastModification> | |
<style>line</style> | |
<useDescr>false</useDescr> | |
</hudson.plugins.plot.Plot> | |
<hudson.plugins.plot.Plot> | |
<title>C - Testing</title> | |
<yaxis>Count</yaxis> | |
<series> | |
<hudson.plugins.plot.CSVSeries> | |
<file>build/logs/phploc.csv</file> | |
<label></label> | |
<fileType>csv</fileType> | |
<strExclusionSet> | |
<string>Functions</string> | |
<string>Classes</string> | |
<string>Methods</string> | |
<string>Test Clases</string> | |
<string>Test Methods</string> | |
</strExclusionSet> | |
<inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
<exclusionValues>Classes,Methods,Functions,Test Clases,Test Methods</exclusionValues> | |
<url></url> | |
<displayTableFlag>false</displayTableFlag> | |
</hudson.plugins.plot.CSVSeries> | |
</series> | |
<group>phploc</group> | |
<numBuilds>100</numBuilds> | |
<csvFileName>174807245.csv</csvFileName> | |
<csvLastModification>0</csvLastModification> | |
<style>line</style> | |
<useDescr>false</useDescr> | |
</hudson.plugins.plot.Plot> | |
</plots> | |
</hudson.plugins.plot.PlotPublisher> | |
<org.jenkinsci.plugins.cloverphp.CloverPublisher> | |
<publishHtmlReport>true</publishHtmlReport> | |
<reportDir>build/coverage</reportDir> | |
<xmlLocation>build/logs/clover.xml</xmlLocation> | |
<disableArchiving>false</disableArchiving> | |
<healthyTarget> | |
<methodCoverage>70</methodCoverage> | |
<statementCoverage>80</statementCoverage> | |
</healthyTarget> | |
<unhealthyTarget/> | |
<failingTarget/> | |
</org.jenkinsci.plugins.cloverphp.CloverPublisher> | |
<htmlpublisher.HtmlPublisher> | |
<reportTargets> | |
<htmlpublisher.HtmlPublisherTarget> | |
<reportName>API Documentation</reportName> | |
<reportDir>build/api</reportDir> | |
<reportFiles>index.html</reportFiles> | |
<keepAll>true</keepAll> | |
<wrapperName>htmlpublisher-wrapper.html</wrapperName> | |
</htmlpublisher.HtmlPublisherTarget> | |
<htmlpublisher.HtmlPublisherTarget> | |
<reportName>Code Browser</reportName> | |
<reportDir>build/code-browser</reportDir> | |
<reportFiles>index.html</reportFiles> | |
<keepAll>true</keepAll> | |
<wrapperName>htmlpublisher-wrapper.html</wrapperName> | |
</htmlpublisher.HtmlPublisherTarget> | |
</reportTargets> | |
</htmlpublisher.HtmlPublisher> | |
<org.jenkinsci.plugins.xunit.XUnitPublisher> | |
<types> | |
<PHPUnitJunitHudsonTestType> | |
<pattern>build/logs/junit.xml</pattern> | |
<faildedIfNotNew>true</faildedIfNotNew> | |
<deleteOutputFiles>true</deleteOutputFiles> | |
<stopProcessingIfError>true</stopProcessingIfError> | |
</PHPUnitJunitHudsonTestType> | |
</types> | |
<thresholds> | |
<org.jenkinsci.plugins.xunit.threshold.FailedThreshold> | |
<unstableThreshold>0</unstableThreshold> | |
<unstableNewThreshold>0</unstableNewThreshold> | |
<failureThreshold>0</failureThreshold> | |
<failureNewThreshold>0</failureNewThreshold> | |
</org.jenkinsci.plugins.xunit.threshold.FailedThreshold> | |
<org.jenkinsci.plugins.xunit.threshold.SkippedThreshold> | |
<unstableThreshold>0</unstableThreshold> | |
<unstableNewThreshold>0</unstableNewThreshold> | |
<failureThreshold>0</failureThreshold> | |
<failureNewThreshold>0</failureNewThreshold> | |
</org.jenkinsci.plugins.xunit.threshold.SkippedThreshold> | |
</thresholds> | |
</org.jenkinsci.plugins.xunit.XUnitPublisher> | |
<hudson.plugins.jdepend.JDependRecorder> | |
<configuredJDependFile>build/logs/jdepend.xml</configuredJDependFile> | |
</hudson.plugins.jdepend.JDependRecorder> | |
<hudson.plugins.violations.ViolationsPublisher> | |
<config> | |
<suppressions class="tree-set"> | |
<no-comparator/> | |
</suppressions> | |
<typeConfigs> | |
<no-comparator/> | |
<entry> | |
<string>checkstyle</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>checkstyle</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern>build/logs/checkstyle.xml</pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>codenarc</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>codenarc</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>cpd</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>cpd</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern>build/logs/pmd-cpd.xml</pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>cpplint</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>cpplint</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>csslint</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>csslint</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>findbugs</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>findbugs</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>fxcop</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>fxcop</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>gendarme</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>gendarme</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>jcreport</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>jcreport</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>jslint</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>jslint</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>pep8</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>pep8</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>pmd</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>pmd</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern>build/logs/pmd.xml</pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>pylint</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>pylint</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>simian</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>simian</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
<entry> | |
<string>stylecop</string> | |
<hudson.plugins.violations.TypeConfig> | |
<type>stylecop</type> | |
<min>10</min> | |
<max>999</max> | |
<unstable>999</unstable> | |
<usePattern>false</usePattern> | |
<pattern></pattern> | |
</hudson.plugins.violations.TypeConfig> | |
</entry> | |
</typeConfigs> | |
<limit>100</limit> | |
<sourcePathPattern></sourcePathPattern> | |
<fauxProjectPath></fauxProjectPath> | |
<encoding>UTF-8</encoding> | |
</config> | |
</hudson.plugins.violations.ViolationsPublisher> | |
</publishers> | |
<buildWrappers/> | |
</project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
TITLE Jenkins Server | |
set Path=\xampp\jdk\bin;%Path% | |
set JENKINS_HOME=\xampp\Jenkins\Home | |
java -jar jenkins.war |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ${HOME} will be replaced by JVM user.home system property | |
netbeans_default_userdir="\xampp\userDirectories\netbeans\7.1\default" | |
# Options used by NetBeans launcher by default, can be overridden by explicit | |
# command line switches: | |
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true" | |
# Note that default -Xmx and -XX:MaxPermSize are selected for you automatically. | |
# You can find these values in var/log/messages.log file in your userdir. | |
# The automatically selected value can be overridden by specifying -J-Xmx or | |
# -J-XX:MaxPermSize= here or on the command line. | |
# If you specify the heap size (-Xmx) explicitly, you may also want to enable | |
# Concurrent Mark & Sweep garbage collector. In such case add the following | |
# options to the netbeans_default_options: | |
# -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled | |
# (see http://wiki.netbeans.org/FaqGCPauses) | |
# Default location of JDK, can be overridden by using --jdkhome <dir>: | |
netbeans_jdkhome="\xampp\jdk" | |
# Additional module clusters, using ${path.separator} (';' on Windows or ':' on Unix): | |
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2" | |
# If you have some problems with detect of proxy settings, you may want to enable | |
# detect the proxy settings provided by JDK5 or higher. | |
# In such case add -J-Djava.net.useSystemProxies=true to the netbeans_default_options. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment