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
c27fd79f
Commit
c27fd79f
authored
Mar 16, 2020
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scott: Job [Deploy_CHM_UAT_136] configuration updated
Change performed by 楊慶堂
parent
2c9236ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
28 deletions
+28
-28
jobs/Deploy_CHM_UAT_136/config.xml
jobs/Deploy_CHM_UAT_136/config.xml
+28
-28
No files found.
jobs/Deploy_CHM_UAT_136/config.xml
View file @
c27fd79f
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset
plugin=
"maven-plugin@3.4"
>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<maven2-moduleset
plugin=
"maven-plugin@3.4"
>
<actions/>
<description
></description
>
<description
/
>
<keepDependencies>
false
</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.13"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition
plugin=
"global-variable-string-parameter@1.2"
>
...
...
@@ -16,7 +16,7 @@ develop
master
release/1.61GA
hotfix/1.42.3GA
</description>
<defaultValue>
hotfix/1.71.
2GA
</defaultValue>
<defaultValue>
release/1.7
2GA
</defaultValue>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
...
...
@@ -30,7 +30,7 @@ hotfix/1.42.3GA</description>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@4.2.
0
"
>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@4.2.
2
"
>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
...
...
@@ -119,15 +119,15 @@ hotfix/1.42.3GA</description>
</configs>
</hudson.plugins.parameterizedtrigger.BuildTrigger>
<jenkins.plugins.slack.SlackNotifier
plugin=
"slack@2.37"
>
<baseUrl
></baseUrl
>
<teamDomain
></teamDomain
>
<authToken
></authToken
>
<tokenCredentialId
></tokenCredentialId
>
<baseUrl
/
>
<teamDomain
/
>
<authToken
/
>
<tokenCredentialId
/
>
<botUser>
false
</botUser>
<room
></room
>
<room
/
>
<sendAsText>
false
</sendAsText>
<iconEmoji
></iconEmoji
>
<username
></username
>
<iconEmoji
/
>
<username
/
>
<startNotification>
false
</startNotification>
<notifySuccess>
false
</notifySuccess>
<notifyAborted>
true
</notifyAborted>
...
...
@@ -142,29 +142,29 @@ hotfix/1.42.3GA</description>
<includeFailedTests>
false
</includeFailedTests>
<commitInfoChoice>
NONE
</commitInfoChoice>
<includeCustomMessage>
false
</includeCustomMessage>
<customMessage
></customMessage
>
<customMessageSuccess
></customMessageSuccess
>
<customMessageAborted
></customMessageAborted
>
<customMessageNotBuilt
></customMessageNotBuilt
>
<customMessageUnstable
></customMessageUnstable
>
<customMessageFailure
></customMessageFailure
>
<customMessage
/
>
<customMessageSuccess
/
>
<customMessageAborted
/
>
<customMessageNotBuilt
/
>
<customMessageUnstable
/
>
<customMessageFailure
/
>
</jenkins.plugins.slack.SlackNotifier>
</publishers>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup
plugin=
"ws-cleanup@0.38"
>
<deleteDirs>
false
</deleteDirs>
<cleanupParameter
></cleanupParameter
>
<externalDelete
></externalDelete
>
<cleanupParameter
/
>
<externalDelete
/
>
<disableDeferredWipeout>
false
</disableDeferredWipeout>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
<hudson.plugins.timestamper.TimestamperBuildWrapper
plugin=
"timestamper@1.11.
1
"
/>
<hudson.plugins.timestamper.TimestamperBuildWrapper
plugin=
"timestamper@1.11.
2
"
/>
</buildWrappers>
<prebuilders>
<hudson.tasks.Shell>
<command>
VAR=$(git rev-parse --short HEAD)_$(date +
"
%Y%m%d_%H%M
"
)
<command>
VAR=$(git rev-parse --short HEAD)_$(date +
"%Y%m%d_%H%M"
)
version=${GIT_BRANCH##*/}
sed -i
"
s/
<
title.*/
<
title ng-bind=
'
page_title
'>
CRM v${version}_${VAR}
<
\/title\/
>
/
"
src/main/resources/static/index.html
sed -i
"
s/
<
title.*/
<
title ng-bind=
'
page_title
'>
CRM v${version}_${VAR}
<
\/title\/
>
/
"
src/main/resources/static/indexMinify.html
</command>
sed -i
"s/
<
title.*/
<
title ng-bind='page_title'
>
CRM v${version}_${VAR}
<
\/title\/
>
/"
src/main/resources/static/index.html
sed -i
"s/
<
title.*/
<
title ng-bind='page_title'
>
CRM v${version}_${VAR}
<
\/title\/
>
/"
src/main/resources/static/indexMinify.html
</command>
</hudson.tasks.Shell>
</prebuilders>
<postbuilders>
...
...
@@ -177,10 +177,10 @@ tempdir=$(mktemp -d)
sudo rm -f ${chm}/lib/*
sudo rm -rf ${chm}/templates/*
7za x target/CRM-pack.zip -o
"
${tempdir}
"
sudo mv -f ${tempdir}/CRM/lib/*
"
${chm}/lib
"
sudo mv -f ${tempdir}/CRM/templates/*
"
${chm}/templates
"
rm -rf
"
${tempdir}
"
7za x target/CRM-pack.zip -o
"${tempdir}"
sudo mv -f ${tempdir}/CRM/lib/*
"${chm}/lib"
sudo mv -f ${tempdir}/CRM/templates/*
"${chm}/templates"
rm -rf
"${tempdir}"
sudo systemctl start CRM
</command>
</hudson.tasks.Shell>
...
...
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