Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jenkins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ym
jenkins
Commits
dc410a19
Commit
dc410a19
authored
Aug 22, 2018
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20160048: Job [Deploy_FORM_SIT_132] configuration updated
Change performed by ³¢ªںÂ
parent
79aea81a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
126 additions
and
0 deletions
+126
-0
jobs/Deploy_FORM_SIT_132/config.xml
jobs/Deploy_FORM_SIT_132/config.xml
+126
-0
No files found.
jobs/Deploy_FORM_SIT_132/config.xml
0 → 100644
View file @
dc410a19
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset
plugin=
"maven-plugin@3.1.2"
>
<actions/>
<description></description>
<keepDependencies>
false
</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.9"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
2
</daysToKeep>
<numToKeep>
5
</numToKeep>
<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/form.git
</url>
<credentialsId>
3485e854-8389-40e8-8c86-b94e94e91904
</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>
*/develop
</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>
false
</doGenerateSubmoduleConfigurations>
<submoduleCfg
class=
"list"
/>
<extensions/>
</scm>
<assignedNode>
SIT_132
</assignedNode>
<canRoam>
false
</canRoam>
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>
false
</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>
false
</concurrentBuild>
<rootModule>
<groupId>
com.ylhealth.survey
</groupId>
<artifactId>
designer_web
</artifactId>
</rootModule>
<goals>
clean package -Dmaven.test.skip=true -P !jenkins,qa
</goals>
<defaultGoals>
jetty:run
</defaultGoals>
<aggregatorStyleBuild>
true
</aggregatorStyleBuild>
<incrementalBuild>
false
</incrementalBuild>
<ignoreUpstremChanges>
false
</ignoreUpstremChanges>
<ignoreUnsuccessfulUpstreams>
false
</ignoreUnsuccessfulUpstreams>
<archivingDisabled>
true
</archivingDisabled>
<siteArchivingDisabled>
true
</siteArchivingDisabled>
<fingerprintingDisabled>
true
</fingerprintingDisabled>
<resolveDependencies>
false
</resolveDependencies>
<processPlugins>
false
</processPlugins>
<mavenValidationLevel>
-1
</mavenValidationLevel>
<runHeadless>
false
</runHeadless>
<disableTriggerDownstreamProjects>
true
</disableTriggerDownstreamProjects>
<settings
class=
"jenkins.mvn.DefaultSettingsProvider"
/>
<globalSettings
class=
"jenkins.mvn.DefaultGlobalSettingsProvider"
/>
<reporters/>
<publishers>
<jenkins.plugins.slack.SlackNotifier
plugin=
"slack@2.3"
>
<baseUrl></baseUrl>
<teamDomain></teamDomain>
<authToken></authToken>
<authTokenCredentialId></authTokenCredentialId>
<botUser>
false
</botUser>
<room></room>
<startNotification>
false
</startNotification>
<notifySuccess>
false
</notifySuccess>
<notifyAborted>
true
</notifyAborted>
<notifyNotBuilt>
true
</notifyNotBuilt>
<notifyUnstable>
true
</notifyUnstable>
<notifyRegression>
false
</notifyRegression>
<notifyFailure>
true
</notifyFailure>
<notifyBackToNormal>
true
</notifyBackToNormal>
<notifyRepeatedFailure>
false
</notifyRepeatedFailure>
<includeTestSummary>
false
</includeTestSummary>
<includeFailedTests>
false
</includeFailedTests>
<commitInfoChoice>
NONE
</commitInfoChoice>
<includeCustomMessage>
false
</includeCustomMessage>
<customMessage></customMessage>
</jenkins.plugins.slack.SlackNotifier>
</publishers>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup
plugin=
"ws-cleanup@0.34"
>
<deleteDirs>
false
</deleteDirs>
<cleanupParameter></cleanupParameter>
<externalDelete></externalDelete>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
</buildWrappers>
<prebuilders>
<hudson.tasks.BatchFile>
<command>
SETLOCAL EnableDelayedExpansion


for /f
"
skip=1 tokens=1-6 delims=
"
%%a in (
'
wmic path Win32_LocalTime Get Day^,Hour^,Minute^,Month^,Second^,Year /Format:table
'
) do (

IF NOT
"
%%~f
"
==
""
(

set /a FormattedDate=10000 * %%f + 100 * %%d + %%a

set FormattedDate=%%f!FormattedDate:~-4,2!!FormattedDate:~-2,2!_%%b:%%c

)

)

for /f
"
tokens=*
"
%%i in (
'
git rev-parse --short HEAD
'
) do set VAR=%%i_%FormattedDate%


echo Version:%VAR%

"
C:\Program Files\Git\usr\bin\sed
"
-i
"
s/
<
title.*/
<
title
>
Form v%VAR%
<
\/title\/
>
/
"
src\main\webapp\WEB-INF\jsp\home.jsp

</command>
</hudson.tasks.BatchFile>
</prebuilders>
<postbuilders>
<hudson.tasks.BatchFile>
<command>
set target=C:\Deploy\form\webapps

net stop form

copy /Y target\designer.war %target%\

net start form
</command>
</hudson.tasks.BatchFile>
</postbuilders>
<runPostStepsIfResult>
<name>
SUCCESS
</name>
<ordinal>
0
</ordinal>
<color>
BLUE
</color>
<completeBuild>
true
</completeBuild>
</runPostStepsIfResult>
</maven2-moduleset>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment