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
b75952c2
Commit
b75952c2
authored
Jul 09, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scott: Job [Deploy_DHP_Form_Prod] configuration updated
Change performed by ·¨¼y°ó
parent
c9d07a5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
jobs/Deploy_DHP_Form_Prod/config.xml
jobs/Deploy_DHP_Form_Prod/config.xml
+16
-9
No files found.
jobs/Deploy_DHP_Form_Prod/config.xml
View file @
b75952c2
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset
plugin=
"maven-plugin@3.
2
"
>
<maven2-moduleset
plugin=
"maven-plugin@3.
3
"
>
<actions/>
<description>
打包完會將 war 檔放到 3.16.159.120 :/home/ymadmin 下
</description>
<keepDependencies>
false
</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.1
1
"
>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.1
2
"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<hudson.model.ParametersDefinitionProperty>
...
...
@@ -15,7 +15,7 @@
master
release/1.15GA
hotfix/1.15.1GA
</description>
<defaultValue>
feature/I18N
</defaultValue>
<defaultValue>
DHP/master
</defaultValue>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition
plugin=
"global-variable-string-parameter@1.2"
>
...
...
@@ -35,7 +35,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.
10.0
"
>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
...
...
@@ -81,11 +81,16 @@ hotfix/1.15.1GA</description>
<globalSettings
class=
"jenkins.mvn.DefaultGlobalSettingsProvider"
/>
<reporters/>
<publishers>
<jenkins.plugins.slack.SlackNotifier
plugin=
"slack@2.12"
>
<jenkins.plugins.slack.SlackNotifier
plugin=
"slack@2.27"
>
<baseUrl></baseUrl>
<teamDomain></teamDomain>
<authToken></authToken>
<tokenCredentialId></tokenCredentialId>
<botUser>
false
</botUser>
<room></room>
<sendAsText>
false
</sendAsText>
<iconEmoji></iconEmoji>
<username></username>
<startNotification>
false
</startNotification>
<notifySuccess>
false
</notifySuccess>
<notifyAborted>
true
</notifyAborted>
...
...
@@ -93,12 +98,13 @@ hotfix/1.15.1GA</description>
<notifyUnstable>
true
</notifyUnstable>
<notifyRegression>
false
</notifyRegression>
<notifyFailure>
true
</notifyFailure>
<notifyEveryFailure>
false
</notifyEveryFailure>
<notifyBackToNormal>
true
</notifyBackToNormal>
<notifyRepeatedFailure>
false
</notifyRepeatedFailure>
<includeTestSummary>
false
</includeTestSummary>
<includeFailedTests>
false
</includeFailedTests>
<commitInfoChoice>
NONE
</commitInfoChoice>
<includeCustomMessage>
tru
e
</includeCustomMessage>
<includeCustomMessage>
fals
e
</includeCustomMessage>
<customMessage></customMessage>
<customMessageSuccess></customMessageSuccess>
<customMessageAborted></customMessageAborted>
...
...
@@ -114,15 +120,16 @@ hotfix/1.15.1GA</description>
<externalDelete></externalDelete>
<disableDeferredWipeout>
false
</disableDeferredWipeout>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper
plugin=
"ansicolor@0.6.
0
"
>
<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.Shell>
<command>
VAR=$(git rev-parse --short HEAD)_$(date +
"
%Y%m%d_%H%M
"
)
version=${GIT_BRANCH##*/}
# version=${GIT_BRANCH##*/}
version=$(git describe --tags)
sed -i
""
"
s/
<
title.*/
<
title
>
Form v${version}_${VAR}
<
\/title\/
>
/
"
src/main/webapp/WEB-INF/jsp/home.jsp
</command>
</hudson.tasks.Shell>
</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