Commit 84c4f7f7 authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

scott: Job [HRA_Backend_Commit_Build] configuration updated

Change performed by 楊慶堂
parent 2ec146ff
...@@ -8,19 +8,19 @@ ...@@ -8,19 +8,19 @@
假如過成有問題會通知RD群組</description> 假如過成有問題會通知RD群組</description>
<keepDependencies>false</keepDependencies> <keepDependencies>false</keepDependencies>
<properties> <properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.11"> <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.13">
<gitLabConnection>ylhealth</gitLabConnection> <gitLabConnection>ylhealth</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty> </com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<jenkins.model.BuildDiscarderProperty> <jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator"> <strategy class="hudson.tasks.LogRotator">
<daysToKeep>-1</daysToKeep> <daysToKeep>-1</daysToKeep>
<numToKeep>5</numToKeep> <numToKeep>10</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep> <artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep> <artifactNumToKeep>-1</artifactNumToKeep>
</strategy> </strategy>
</jenkins.model.BuildDiscarderProperty> </jenkins.model.BuildDiscarderProperty>
</properties> </properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1"> <scm class="hudson.plugins.git.GitSCM" plugin="git@4.1.1">
<configVersion>2</configVersion> <configVersion>2</configVersion>
<userRemoteConfigs> <userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig> <hudson.plugins.git.UserRemoteConfig>
...@@ -42,9 +42,8 @@ ...@@ -42,9 +42,8 @@
<disabled>false</disabled> <disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<authToken>build_hra_backend</authToken>
<triggers> <triggers>
<com.dabsquared.gitlabjenkins.GitLabPushTrigger plugin="gitlab-plugin@1.5.11"> <com.dabsquared.gitlabjenkins.GitLabPushTrigger plugin="gitlab-plugin@1.5.13">
<spec></spec> <spec></spec>
<triggerOnPush>true</triggerOnPush> <triggerOnPush>true</triggerOnPush>
<triggerOnMergeRequest>true</triggerOnMergeRequest> <triggerOnMergeRequest>true</triggerOnMergeRequest>
...@@ -63,7 +62,7 @@ ...@@ -63,7 +62,7 @@
<excludeBranchesSpec></excludeBranchesSpec> <excludeBranchesSpec></excludeBranchesSpec>
<sourceBranchRegex></sourceBranchRegex> <sourceBranchRegex></sourceBranchRegex>
<targetBranchRegex></targetBranchRegex> <targetBranchRegex></targetBranchRegex>
<secretToken>{AQAAABAAAAAQi6vi5DGCf/gJRRsdXUDj/DA3j/sPAYgvCBgye9PQbe4=}</secretToken> <secretToken>{AQAAABAAAAAQCyuqmNlJkPm3T0Kj+ESLIzb0DfumldGbiIychIxAqtg=}</secretToken>
<pendingBuildName></pendingBuildName> <pendingBuildName></pendingBuildName>
<cancelPendingBuildsOnUpdate>false</cancelPendingBuildsOnUpdate> <cancelPendingBuildsOnUpdate>false</cancelPendingBuildsOnUpdate>
</com.dabsquared.gitlabjenkins.GitLabPushTrigger> </com.dabsquared.gitlabjenkins.GitLabPushTrigger>
...@@ -71,8 +70,8 @@ ...@@ -71,8 +70,8 @@
<concurrentBuild>false</concurrentBuild> <concurrentBuild>false</concurrentBuild>
<builders> <builders>
<hudson.tasks.Maven> <hudson.tasks.Maven>
<targets>clean package cobertura:cobertura </targets> <targets>clean package org.owasp:dependency-check-maven:check -Pjenkins_analysis</targets>
<mavenName>Maven_3.39</mavenName> <mavenName>Maven_3.6.3</mavenName>
<usePrivateRepository>false</usePrivateRepository> <usePrivateRepository>false</usePrivateRepository>
<settings class="jenkins.mvn.DefaultSettingsProvider"/> <settings class="jenkins.mvn.DefaultSettingsProvider"/>
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/> <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
...@@ -80,7 +79,7 @@ ...@@ -80,7 +79,7 @@
</hudson.tasks.Maven> </hudson.tasks.Maven>
</builders> </builders>
<publishers> <publishers>
<hudson.plugins.cobertura.CoberturaPublisher plugin="cobertura@1.13"> <hudson.plugins.cobertura.CoberturaPublisher plugin="cobertura@1.15">
<coberturaReportFile>**/target/site/cobertura/coverage.xml</coberturaReportFile> <coberturaReportFile>**/target/site/cobertura/coverage.xml</coberturaReportFile>
<onlyStable>false</onlyStable> <onlyStable>false</onlyStable>
<failUnhealthy>false</failUnhealthy> <failUnhealthy>false</failUnhealthy>
...@@ -144,13 +143,13 @@ ...@@ -144,13 +143,13 @@
<sourceEncoding>ASCII</sourceEncoding> <sourceEncoding>ASCII</sourceEncoding>
<enableNewApi>false</enableNewApi> <enableNewApi>false</enableNewApi>
</hudson.plugins.cobertura.CoberturaPublisher> </hudson.plugins.cobertura.CoberturaPublisher>
<hudson.tasks.Mailer plugin="mailer@1.23"> <hudson.tasks.Mailer plugin="mailer@1.30">
<recipients>$RD_Group</recipients> <recipients>$RD_Group</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild> <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals> <sendToIndividuals>false</sendToIndividuals>
</hudson.tasks.Mailer> </hudson.tasks.Mailer>
</publishers> </publishers>
<buildWrappers> <buildWrappers>
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.8.10"/> <hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.11"/>
</buildWrappers> </buildWrappers>
</project> </project>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment