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
5d90106f
Commit
5d90106f
authored
Mar 14, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20140144: Job [Deploy_CHM_Prod] configuration updated
Change performed by ·¨¼y°ó
parent
a6f6631a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
jobs/Deploy_CHM_Prod/config.xml
jobs/Deploy_CHM_Prod/config.xml
+16
-10
No files found.
jobs/Deploy_CHM_Prod/config.xml
View file @
5d90106f
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset
plugin=
"maven-plugin@3.
1.
2"
>
<maven2-moduleset
plugin=
"maven-plugin@3.2"
>
<actions/>
<description></description>
<keepDependencies>
false
</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.1
0
"
>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.1
1
"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<hudson.model.ParametersDefinitionProperty>
...
...
@@ -29,7 +29,7 @@ hotfix/1.15.1GA</description>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@3.9.
1
"
>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@3.9.
3
"
>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
...
...
@@ -83,11 +83,11 @@ hotfix/1.15.1GA</description>
</hudson.maven.reporters.MavenMailer>
</reporters>
<publishers>
<jenkins.plugins.slack.SlackNotifier
plugin=
"slack@2.
3
"
>
<jenkins.plugins.slack.SlackNotifier
plugin=
"slack@2.
18
"
>
<baseUrl></baseUrl>
<teamDomain></teamDomain>
<authToken></authToken>
<
authTokenCredentialId></authT
okenCredentialId>
<
tokenCredentialId></t
okenCredentialId>
<botUser>
false
</botUser>
<room></room>
<startNotification>
false
</startNotification>
...
...
@@ -104,19 +104,24 @@ hotfix/1.15.1GA</description>
<commitInfoChoice>
NONE
</commitInfoChoice>
<includeCustomMessage>
false
</includeCustomMessage>
<customMessage></customMessage>
<customMessageSuccess></customMessageSuccess>
<customMessageAborted></customMessageAborted>
<customMessageNotBuilt></customMessageNotBuilt>
<customMessageUnstable></customMessageUnstable>
<customMessageFailure></customMessageFailure>
</jenkins.plugins.slack.SlackNotifier>
</publishers>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup
plugin=
"ws-cleanup@0.3
6
"
>
<hudson.plugins.ws__cleanup.PreBuildCleanup
plugin=
"ws-cleanup@0.3
7
"
>
<deleteDirs>
false
</deleteDirs>
<cleanupParameter></cleanupParameter>
<externalDelete></externalDelete>
<disableDeferredWipeout>
false
</disableDeferredWipeout>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper
plugin=
"ansicolor@0.
5.3
"
>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper
plugin=
"ansicolor@0.
6.2
"
>
<colorMapName>
xterm
</colorMapName>
</hudson.plugins.ansicolor.AnsiColorBuildWrapper>
<hudson.plugins.timestamper.TimestamperBuildWrapper
plugin=
"timestamper@1.
8.10
"
/>
<hudson.plugins.timestamper.TimestamperBuildWrapper
plugin=
"timestamper@1.
9
"
/>
</buildWrappers>
<prebuilders>
<hudson.tasks.BatchFile>
...
...
@@ -133,10 +138,11 @@ for /f "skip=1 tokens=1-6 delims= " %%a in ('wmic path Win32_Loca
)

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

for /F
"
delims=/ tokens=3
"
%%i in (
"
%GIT_BRANCH%
"
) do set version=%%i

for /f %%a in (
'
git describe --tags
'
) do set
"
tags=%%a
"

echo Version:%VAR%

sed -i
"
s/
<
title.*/
<
title ng-bind=
'
page_title
'>
CRM %version%_%VAR%
<
\/title\/
>
/
"
src\main\resources\static\index.html

sed -i
"
s/
<
base.*/
<
base href=\
"
\/CRM\/\
"
version=\
"
%version%_%VAR%\
"
\/
>
/
"
src\main\resources\static\indexMinify.html

sed -i
"
s/
<
title.*/
<
title ng-bind=
'
page_title
'>
CRM %
tags%_%
version%_%VAR%
<
\/title\/
>
/
"
src\main\resources\static\index.html

sed -i
"
s/
<
base.*/
<
base href=\
"
\/CRM\/\
"
version=\
"
%
tags%_%
version%_%VAR%\
"
\/
>
/
"
src\main\resources\static\indexMinify.html

</command>
</hudson.tasks.BatchFile>
</prebuilders>
...
...
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