Last active
September 14, 2016 07:30
-
-
Save Ryan4CN/1917051b830ae240b1b3b3761568de7a to your computer and use it in GitHub Desktop.
php-jenkins 的配置,有两个自动构建配置,一个是项目本身构建,另外一个是 发送 merge request 到 coding 的脚本,配置地址在 ~/.jenkins/jobs 的你要指定项目里面
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></description> | |
| <keepDependencies>false</keepDependencies> | |
| <properties/> | |
| <scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> | |
| <configVersion>2</configVersion> | |
| <userRemoteConfigs> | |
| <hudson.plugins.git.UserRemoteConfig> | |
| <url>/Users/weelion/Develop/litian/Jobs</url> | |
| </hudson.plugins.git.UserRemoteConfig> | |
| </userRemoteConfigs> | |
| <branches> | |
| <hudson.plugins.git.BranchSpec> | |
| <name>*/master</name> | |
| </hudson.plugins.git.BranchSpec> | |
| </branches> | |
| <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> | |
| <submoduleCfg class="list"/> | |
| <extensions> | |
| <hudson.plugins.git.extensions.impl.SubmoduleOption> | |
| <disableSubmodules>false</disableSubmodules> | |
| <recursiveSubmodules>true</recursiveSubmodules> | |
| <trackingSubmodules>false</trackingSubmodules> | |
| <reference></reference> | |
| <parentCredentials>false</parentCredentials> | |
| </hudson.plugins.git.extensions.impl.SubmoduleOption> | |
| </extensions> | |
| </scm> | |
| <canRoam>true</canRoam> | |
| <disabled>false</disabled> | |
| <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | |
| <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | |
| <authToken>bbb</authToken> | |
| <triggers/> | |
| <concurrentBuild>false</concurrentBuild> | |
| <builders> | |
| <hudson.tasks.Ant plugin="[email protected]"> | |
| <targets></targets> | |
| </hudson.tasks.Ant> | |
| </builders> | |
| <publishers> | |
| <hudson.plugins.checkstyle.CheckStylePublisher plugin="[email protected]"> | |
| <healthy></healthy> | |
| <unHealthy></unHealthy> | |
| <thresholdLimit>low</thresholdLimit> | |
| <pluginName>[CHECKSTYLE] </pluginName> | |
| <defaultEncoding></defaultEncoding> | |
| <canRunOnFailed>false</canRunOnFailed> | |
| <usePreviousBuildAsReference>false</usePreviousBuildAsReference> | |
| <useStableBuildAsReference>false</useStableBuildAsReference> | |
| <useDeltaValues>false</useDeltaValues> | |
| <thresholds plugin="[email protected]"> | |
| <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>true</dontComputeNew> | |
| <doNotResolveRelativePaths>false</doNotResolveRelativePaths> | |
| <pattern>build/logs/checkstyle.xml</pattern> | |
| </hudson.plugins.checkstyle.CheckStylePublisher> | |
| <hudson.plugins.pmd.PmdPublisher plugin="[email protected]"> | |
| <healthy></healthy> | |
| <unHealthy></unHealthy> | |
| <thresholdLimit>low</thresholdLimit> | |
| <pluginName>[PMD] </pluginName> | |
| <defaultEncoding></defaultEncoding> | |
| <canRunOnFailed>false</canRunOnFailed> | |
| <usePreviousBuildAsReference>false</usePreviousBuildAsReference> | |
| <useStableBuildAsReference>false</useStableBuildAsReference> | |
| <useDeltaValues>false</useDeltaValues> | |
| <thresholds plugin="[email protected]"> | |
| <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>true</dontComputeNew> | |
| <doNotResolveRelativePaths>false</doNotResolveRelativePaths> | |
| <pattern>build/logs/pmd.xml</pattern> | |
| </hudson.plugins.pmd.PmdPublisher> | |
| <hudson.plugins.dry.DryPublisher plugin="[email protected]"> | |
| <healthy></healthy> | |
| <unHealthy></unHealthy> | |
| <thresholdLimit>low</thresholdLimit> | |
| <pluginName>[DRY] </pluginName> | |
| <defaultEncoding></defaultEncoding> | |
| <canRunOnFailed>false</canRunOnFailed> | |
| <usePreviousBuildAsReference>false</usePreviousBuildAsReference> | |
| <useStableBuildAsReference>false</useStableBuildAsReference> | |
| <useDeltaValues>false</useDeltaValues> | |
| <thresholds plugin="[email protected]"> | |
| <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>true</dontComputeNew> | |
| <doNotResolveRelativePaths>false</doNotResolveRelativePaths> | |
| <pattern>build/logs/pmd-cpd.xml</pattern> | |
| <highThreshold>50</highThreshold> | |
| <normalThreshold>25</normalThreshold> | |
| </hudson.plugins.dry.DryPublisher> | |
| <hudson.tasks.BuildTrigger> | |
| <childProjects>jobs_send_merge_request</childProjects> | |
| <threshold> | |
| <name>SUCCESS</name> | |
| <ordinal>0</ordinal> | |
| <color>BLUE</color> | |
| <completeBuild>true</completeBuild> | |
| </threshold> | |
| </hudson.tasks.BuildTrigger> | |
| <hudson.plugins.jdepend.JDependRecorder plugin="[email protected]"> | |
| <configuredJDependFile>build/logs/jdepend.xml</configuredJDependFile> | |
| </hudson.plugins.jdepend.JDependRecorder> | |
| <hudson.plugins.plot.PlotPublisher plugin="[email protected]"> | |
| <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>Non-Comment Lines of Code (NCLOC)</string> | |
| <string>Comment Lines of Code (CLOC)</string> | |
| <string>Logical Lines of Code (LLOC) </string> | |
| </strExclusionSet> | |
| <inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
| <exclusionValues> Lines of Code (LOC),Comment Lines of Code (CLOC),Non-Comment Lines of Code (NCLOC),Logical Lines of Code (LLOC) </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> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| <hudson.plugins.plot.Plot> | |
| <title>B - Structures Containers</title> | |
| <yaxis>Count</yaxis> | |
| <series> | |
| <hudson.plugins.plot.CSVSeries> | |
| <file>build/logs/phploc.csv</file> | |
| <label></label> | |
| <fileType>csv</fileType> | |
| <strExclusionSet> | |
| <string>Directories</string> | |
| <string>Namespaces</string> | |
| <string>Files</string> | |
| </strExclusionSet> | |
| <inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
| <exclusionValues>Directories,Files,Namespaces</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> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| <hudson.plugins.plot.Plot> | |
| <title>C - Average Length</title> | |
| <yaxis>Average Lines of Code</yaxis> | |
| <series> | |
| <hudson.plugins.plot.CSVSeries> | |
| <file>build/logs/phploc.csv</file> | |
| <label></label> | |
| <fileType>csv</fileType> | |
| <strExclusionSet> | |
| <string> Average Class Length (LLOC)</string> | |
| <string>Average Function Length (LLOC) </string> | |
| <string>Average Method Length (LLOC)</string> | |
| </strExclusionSet> | |
| <inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
| <exclusionValues> Average Class Length (LLOC),Average Method Length (LLOC),Average Function Length (LLOC) </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> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| <hudson.plugins.plot.Plot> | |
| <title>D - Relative Cyclomatic Complexity</title> | |
| <yaxis>Cyclomatic Complexity by Structure</yaxis> | |
| <series> | |
| <hudson.plugins.plot.CSVSeries> | |
| <file>build/logs/phploc.csv</file> | |
| <label></label> | |
| <fileType>csv</fileType> | |
| <strExclusionSet> | |
| <string>Cyclomatic Complexity / Number of Methods </string> | |
| <string> Cyclomatic Complexity / Lines of Code</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> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| <hudson.plugins.plot.Plot> | |
| <title>E - 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> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| <hudson.plugins.plot.Plot> | |
| <title>F - 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>Static Methods</string> | |
| <string> Methods</string> | |
| <string>Non-Static Methods</string> | |
| <string>Non-Public Methods </string> | |
| <string>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> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| <hudson.plugins.plot.Plot> | |
| <title>G - 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>Constants</string> | |
| <string>Global 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> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| <hudson.plugins.plot.Plot> | |
| <title>I - Testing</title> | |
| <yaxis>Count</yaxis> | |
| <series> | |
| <hudson.plugins.plot.CSVSeries> | |
| <file>build/logs/phploc.csv</file> | |
| <label></label> | |
| <fileType>csv</fileType> | |
| <strExclusionSet> | |
| <string>Test Methods</string> | |
| <string>Test Classes</string> | |
| </strExclusionSet> | |
| <inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
| <exclusionValues>Test Classes,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> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| <hudson.plugins.plot.Plot> | |
| <title>AB - Code Structure by Logical Lines of Code</title> | |
| <yaxis>Logical Lines of Code</yaxis> | |
| <series> | |
| <hudson.plugins.plot.CSVSeries> | |
| <file>build/logs/phploc.csv</file> | |
| <label></label> | |
| <fileType>csv</fileType> | |
| <strExclusionSet> | |
| <string>LLOC outside functions or classes </string> | |
| <string>Classes Length (LLOC)</string> | |
| <string> Logical Lines of Code (LLOC)</string> | |
| <string>Functions Length (LLOC)</string> | |
| </strExclusionSet> | |
| <inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
| <exclusionValues> Logical Lines of Code (LLOC),Classes Length (LLOC),Functions Length (LLOC),LLOC outside functions or classes </exclusionValues> | |
| <url></url> | |
| <displayTableFlag>false</displayTableFlag> | |
| </hudson.plugins.plot.CSVSeries> | |
| </series> | |
| <group>phploc</group> | |
| <numBuilds>100</numBuilds> | |
| <csvFileName>946905520.csv</csvFileName> | |
| <csvLastModification>0</csvLastModification> | |
| <style>line</style> | |
| <useDescr>false</useDescr> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| <hudson.plugins.plot.Plot> | |
| <title>H - Types of Functions</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>Named Functions</string> | |
| <string>Anonymous Functions</string> | |
| </strExclusionSet> | |
| <inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
| <exclusionValues>Functions,Named Functions,Anonymous Functions</exclusionValues> | |
| <url></url> | |
| <displayTableFlag>false</displayTableFlag> | |
| </hudson.plugins.plot.CSVSeries> | |
| </series> | |
| <group>phploc</group> | |
| <numBuilds>100</numBuilds> | |
| <csvFileName>1174623854.csv</csvFileName> | |
| <csvLastModification>0</csvLastModification> | |
| <style>line</style> | |
| <useDescr>false</useDescr> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| <hudson.plugins.plot.Plot> | |
| <title>BB - Structure Objects</title> | |
| <yaxis>Count</yaxis> | |
| <series> | |
| <hudson.plugins.plot.CSVSeries> | |
| <file>build/logs/phploc.csv</file> | |
| <label></label> | |
| <fileType>csv</fileType> | |
| <strExclusionSet> | |
| <string>Constants </string> | |
| <string>Functions</string> | |
| <string> Interfaces</string> | |
| <string>Traits</string> | |
| <string>Methods</string> | |
| <string>Classes</string> | |
| </strExclusionSet> | |
| <inclusionFlag>INCLUDE_BY_STRING</inclusionFlag> | |
| <exclusionValues> Interfaces,Traits,Classes,Methods,Functions,Constants </exclusionValues> | |
| <url></url> | |
| <displayTableFlag>false</displayTableFlag> | |
| </hudson.plugins.plot.CSVSeries> | |
| </series> | |
| <group>phploc</group> | |
| <numBuilds>100</numBuilds> | |
| <csvFileName>1234245913.csv</csvFileName> | |
| <csvLastModification>0</csvLastModification> | |
| <style>line</style> | |
| <useDescr>false</useDescr> | |
| <keepRecords>false</keepRecords> | |
| <exclZero>false</exclZero> | |
| <logarithmic>false</logarithmic> | |
| </hudson.plugins.plot.Plot> | |
| </plots> | |
| </hudson.plugins.plot.PlotPublisher> | |
| <org.jenkinsci.plugins.cloverphp.CloverPHPPublisher plugin="[email protected]"> | |
| <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.CloverPHPPublisher> | |
| <hudson.plugins.crap4j.Crap4JPublisher plugin="[email protected]"> | |
| <reportPattern>build/logs/crap4j.xml</reportPattern> | |
| <healthThreshold></healthThreshold> | |
| </hudson.plugins.crap4j.Crap4JPublisher> | |
| <hudson.plugins.violations.ViolationsPublisher plugin="[email protected]"> | |
| <config> | |
| <suppressions class="sorted-set"/> | |
| <typeConfigs> | |
| <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>perlcritic</string> | |
| <hudson.plugins.violations.TypeConfig> | |
| <type>perlcritic</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>default</encoding> | |
| </config> | |
| </hudson.plugins.violations.ViolationsPublisher> | |
| <htmlpublisher.HtmlPublisher plugin="[email protected]"> | |
| <reportTargets> | |
| <htmlpublisher.HtmlPublisherTarget> | |
| <reportName>API Documentation</reportName> | |
| <reportDir>build/api</reportDir> | |
| <reportFiles>index.html</reportFiles> | |
| <alwaysLinkToLastBuild>true</alwaysLinkToLastBuild> | |
| <keepAll>true</keepAll> | |
| <allowMissing>false</allowMissing> | |
| </htmlpublisher.HtmlPublisherTarget> | |
| </reportTargets> | |
| </htmlpublisher.HtmlPublisher> | |
| </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
| <?xml version='1.0' encoding='UTF-8'?> | |
| <project> | |
| <actions/> | |
| <description></description> | |
| <keepDependencies>false</keepDependencies> | |
| <properties/> | |
| <scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> | |
| <configVersion>2</configVersion> | |
| <userRemoteConfigs> | |
| <hudson.plugins.git.UserRemoteConfig> | |
| <url>/Users/weelion/Develop/litian/Jobs</url> | |
| </hudson.plugins.git.UserRemoteConfig> | |
| </userRemoteConfigs> | |
| <branches> | |
| <hudson.plugins.git.BranchSpec> | |
| <name>*/master</name> | |
| </hudson.plugins.git.BranchSpec> | |
| </branches> | |
| <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> | |
| <submoduleCfg class="list"/> | |
| <extensions/> | |
| </scm> | |
| <canRoam>true</canRoam> | |
| <disabled>false</disabled> | |
| <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | |
| <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | |
| <triggers/> | |
| <concurrentBuild>false</concurrentBuild> | |
| <builders> | |
| <hudson.tasks.Shell> | |
| <command>#git tag -a build-$BUILD_NUMBER -m '$BUILD_URL' | |
| #git push origin build-$BUILD_NUMBER | |
| # 添加远程库 | |
| git remote add coding [email protected]:weelion/Jobs.git | |
| # 建立分支合并分支 | |
| git branch build-$BUILD_NUMBER | |
| # 发起合并请求 | |
| git push coding build-$BUILD_NUMBER:mr/master/build-$BUILD_NUMBER | |
| # 删除我自己本地build分支 | |
| git branch -D build-$BUILD_NUMBER | |
| # 删除远程分支配置 | |
| git remote remove coding</command> | |
| </hudson.tasks.Shell> | |
| </builders> | |
| <publishers/> | |
| <buildWrappers/> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment