config.xml 4.87 KB
Newer Older
1 2 3
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset plugin="maven-plugin@3.1.2">
  <actions/>
4
  <description>SonarQube analysis</description>
5 6
  <keepDependencies>false</keepDependencies>
  <properties>
7
    <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.10">
8 9 10 11
      <gitLabConnection>ylhealth</gitLabConnection>
    </com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
    <jenkins.model.BuildDiscarderProperty>
      <strategy class="hudson.tasks.LogRotator">
12 13
        <daysToKeep>1</daysToKeep>
        <numToKeep>3</numToKeep>
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
        <artifactDaysToKeep>-1</artifactDaysToKeep>
        <artifactNumToKeep>-1</artifactNumToKeep>
      </strategy>
    </jenkins.model.BuildDiscarderProperty>
  </properties>
  <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1">
    <configVersion>2</configVersion>
    <userRemoteConfigs>
      <hudson.plugins.git.UserRemoteConfig>
        <url>https://cm.ylhealth.org/gitlab/ym/HRB.git</url>
        <credentialsId>3485e854-8389-40e8-8c86-b94e94e91904</credentialsId>
      </hudson.plugins.git.UserRemoteConfig>
    </userRemoteConfigs>
    <branches>
      <hudson.plugins.git.BranchSpec>
29
        <name>$Build_Branch</name>
30 31 32 33 34 35 36 37 38 39 40
      </hudson.plugins.git.BranchSpec>
    </branches>
    <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
    <submoduleCfg class="list"/>
    <extensions/>
  </scm>
  <assignedNode>&quot;SonarQube Server&quot;</assignedNode>
  <canRoam>false</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
41
  <triggers/>
42 43 44 45 46
  <concurrentBuild>false</concurrentBuild>
  <rootModule>
    <groupId>org.ylhealth.ym.hrb.backend</groupId>
    <artifactId>HRB</artifactId>
  </rootModule>
47
  <goals>clean verify sonar:sonar</goals>
48 49 50
  <defaultGoals>spring-boot:run</defaultGoals>
  <aggregatorStyleBuild>true</aggregatorStyleBuild>
  <incrementalBuild>false</incrementalBuild>
51
  <ignoreUpstremChanges>true</ignoreUpstremChanges>
52 53 54 55 56 57 58 59 60 61 62 63
  <ignoreUnsuccessfulUpstreams>false</ignoreUnsuccessfulUpstreams>
  <archivingDisabled>true</archivingDisabled>
  <siteArchivingDisabled>false</siteArchivingDisabled>
  <fingerprintingDisabled>false</fingerprintingDisabled>
  <resolveDependencies>false</resolveDependencies>
  <processPlugins>false</processPlugins>
  <mavenValidationLevel>-1</mavenValidationLevel>
  <runHeadless>false</runHeadless>
  <disableTriggerDownstreamProjects>false</disableTriggerDownstreamProjects>
  <blockTriggerWhenBuilding>true</blockTriggerWhenBuilding>
  <settings class="jenkins.mvn.DefaultSettingsProvider"/>
  <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
64 65 66
  <reporters/>
  <publishers>
    <org.jenkinsci.plugins.DependencyCheck.DependencyCheckPublisher plugin="dependency-check-jenkins-plugin@3.3.2">
67 68 69
      <healthy></healthy>
      <unHealthy></unHealthy>
      <thresholdLimit>low</thresholdLimit>
70 71
      <pluginName>[DependencyCheck] </pluginName>
      <defaultEncoding></defaultEncoding>
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
      <canRunOnFailed>false</canRunOnFailed>
      <usePreviousBuildAsReference>false</usePreviousBuildAsReference>
      <useStableBuildAsReference>false</useStableBuildAsReference>
      <useDeltaValues>false</useDeltaValues>
      <thresholds plugin="analysis-core@1.95">
        <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>
94
      <shouldDetectModules>false</shouldDetectModules>
95
      <dontComputeNew>true</dontComputeNew>
96 97 98 99
      <doNotResolveRelativePaths>false</doNotResolveRelativePaths>
      <pattern>target/dependency-check-report.xml</pattern>
    </org.jenkinsci.plugins.DependencyCheck.DependencyCheckPublisher>
  </publishers>
100
  <buildWrappers>
101
    <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.35">
102 103 104
      <deleteDirs>false</deleteDirs>
      <cleanupParameter></cleanupParameter>
      <externalDelete></externalDelete>
105
      <disableDeferredWipeout>false</disableDeferredWipeout>
106 107
    </hudson.plugins.ws__cleanup.PreBuildCleanup>
  </buildWrappers>
108
  <prebuilders/>
109 110
  <postbuilders/>
  <runPostStepsIfResult>
111 112 113
    <name>SUCCESS</name>
    <ordinal>0</ordinal>
    <color>BLUE</color>
114 115 116
    <completeBuild>true</completeBuild>
  </runPostStepsIfResult>
</maven2-moduleset>