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
f0a2911c
Commit
f0a2911c
authored
Mar 02, 2020
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [Deploy_KM_DEV_151] configuration updated
Change performed by 冷佳娟
parent
42ddde92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
jobs/Deploy_KM_DEV_151/config.xml
jobs/Deploy_KM_DEV_151/config.xml
+4
-4
No files found.
jobs/Deploy_KM_DEV_151/config.xml
View file @
f0a2911c
...
@@ -82,10 +82,10 @@
...
@@ -82,10 +82,10 @@
<buildWrappers/>
<buildWrappers/>
<prebuilders>
<prebuilders>
<hudson.tasks.Shell>
<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=$(echo $GIT_BRANCH | cut -d
'
/
'
-f 3)
#
version=$(echo $GIT_BRANCH | cut -d
'
/
'
-f 3)
sed -i
"
s/
<
base.*/
<
base href=\
"
\/\
"
version=\
"
${version}_${VAR}\
"
\/
>
/
"
src/main/resources/static/index.html
#
sed -i
"
s/
<
base.*/
<
base href=\
"
\/\
"
version=\
"
${version}_${VAR}\
"
\/
>
/
"
src/main/resources/static/index.html
sed -i
"
s/
<
base.*/
<
base href=\
"
\/\
"
version=\
"
${version}_${VAR}\
"
\/
>
/
"
src/main/resources/static/login.html
</command>
#
sed -i
"
s/
<
base.*/
<
base href=\
"
\/\
"
version=\
"
${version}_${VAR}\
"
\/
>
/
"
src/main/resources/static/login.html
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</prebuilders>
</prebuilders>
<postbuilders>
<postbuilders>
...
...
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