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
573ac0fe
Commit
573ac0fe
authored
Oct 03, 2018
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20180083: Job [Deploy_HRB_SIT_132_TEST_TEST_TEST] configuration updated
Change performed by §õº~?
parent
65aa0bf9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
31 deletions
+7
-31
jobs/Deploy_HRB_SIT_132_TEST_TEST_TEST/config.xml
jobs/Deploy_HRB_SIT_132_TEST_TEST_TEST/config.xml
+7
-31
No files found.
jobs/Deploy_HRB_SIT_132_TEST_TEST_TEST/config.xml
View file @
573ac0fe
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<submoduleCfg
class=
"list"
/>
<submoduleCfg
class=
"list"
/>
<extensions/>
<extensions/>
</scm>
</scm>
<assignedNode>
SIT_132
</assignedNode>
<assignedNode>
"
SonarQube Server
"
</assignedNode>
<canRoam>
false
</canRoam>
<canRoam>
false
</canRoam>
<disabled>
false
</disabled>
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<groupId>
org.ylhealth.ym.hrb.backend
</groupId>
<groupId>
org.ylhealth.ym.hrb.backend
</groupId>
<artifactId>
HRB
</artifactId>
<artifactId>
HRB
</artifactId>
</rootModule>
</rootModule>
<goals>
clean
package cobertura:cobertura
</goals>
<goals>
clean
clean cobertura:cobertura org.jacoco:jacoco-maven-plugin:prepare-agent install -Dmaven.test.failure.ignore=false
</goals>
<defaultGoals>
spring-boot:run
</defaultGoals>
<defaultGoals>
spring-boot:run
</defaultGoals>
<aggregatorStyleBuild>
true
</aggregatorStyleBuild>
<aggregatorStyleBuild>
true
</aggregatorStyleBuild>
<incrementalBuild>
false
</incrementalBuild>
<incrementalBuild>
false
</incrementalBuild>
...
@@ -70,36 +70,12 @@
...
@@ -70,36 +70,12 @@
<externalDelete></externalDelete>
<externalDelete></externalDelete>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
</buildWrappers>
</buildWrappers>
<prebuilders>
<prebuilders/>
<hudson.tasks.BatchFile>
<postbuilders/>
<command>
REM 取得今天的年、月、日 (自動補零)

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%

"
C:\Program Files\Git\usr\bin\sed
"
-i
"
s/
<
base.*/
<
base href=\
"
\/\
"
version=\
"
v%VAR%\
"
\/
>
/
"
src\main\resources\static\index.html

"
C:\Program Files\Git\usr\bin\sed
"
-i
"
s/
<
base.*/
<
base href=\
"
\/\
"
version=\
"
v%VAR%\
"
\/
>
/
"
src\main\resources\static\login.html
</command>
</hudson.tasks.BatchFile>
</prebuilders>
<postbuilders>
<hudson.tasks.BatchFile>
<command>
set target=C:\Deploy\HRB

net stop HRB

FOR /F
"
tokens=5 delims=
"
%%P IN (
'
netstat -a -n -o ^| findstr :50501 ^| findstr LISTEN
'
) DO TaskKill.exe /F /PID %%P

del %target%\lib\*.* /q

"
C:\Program Files\7-Zip\7z.exe
"
e target\HRB-pack.zip -o%target%\lib HRB\lib\*.* -r

net start HRB
</command>
</hudson.tasks.BatchFile>
</postbuilders>
<runPostStepsIfResult>
<runPostStepsIfResult>
<name>
SUCCESS
</name>
<name>
FAILURE
</name>
<ordinal>
0
</ordinal>
<ordinal>
2
</ordinal>
<color>
BLUE
</color>
<color>
RED
</color>
<completeBuild>
true
</completeBuild>
<completeBuild>
true
</completeBuild>
</runPostStepsIfResult>
</runPostStepsIfResult>
</maven2-moduleset>
</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