Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
2119972f
Commit
2119972f
authored
May 04, 2017
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
a901760d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
5_restart_by_name.sh
qa_shell_script/5_restart_by_name.sh
+6
-6
exception_sub_shell.sh
qa_shell_script/exception_sub_shell.sh
+1
-0
update_code.sh
qa_shell_script/initial_env/update_code.sh
+6
-0
No files found.
qa_shell_script/5_restart_by_name.sh
View file @
2119972f
...
...
@@ -52,12 +52,12 @@ function restartJavaProject()
mv
$project_path
/logs/
$log_name
$project_path
/logs/
$project
.log.
$time
if
[[
$project
==
"redpacket"
]]
;
then
echo
`
java
-Xmx512m
-XX
:PermSize64m
-Xloggc
:/tmp/
${
project
}
.log
-XX
:+PrintGCDetails
-XX
:+PrintGCTimeStamps
-jar
${
project
}
.jar
--worker
1
--currentWorker
1
-t
-ts
>
/dev/null 2>&1 &
`
else
#if [[ $project == "redpacket" ]]; then
# echo `java -Xmx512m -XX:PermSize64m -Xloggc:/tmp/${project}.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -jar ${project}.jar --worker 1 --currentWorker 1 -t -ts > /dev/null 2>&1 &`
#else
# echo `java -Xmx512m -XX:PermSize64m -Xloggc:/tmp/${project}.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -jar ${project}.jar --worker 1 --currentWorker 1 -t > /dev/null 2>&1 &`
#fi
echo
`
java
-Xmx512m
-XX
:PermSize64m
-Xloggc
:/tmp/
${
project
}
.log
-XX
:+PrintGCDetails
-XX
:+PrintGCTimeStamps
-jar
${
project
}
.jar
--worker
1
--currentWorker
1
-t
>
/dev/null 2>&1 &
`
fi
#echo `java -Xmx512m -XX:PermSize64m -Xloggc:/tmp/${project}.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -jar ${project}.jar --worker 1 --currentWorker 1 -t > /dev/null 2>&1 &`
#sleep 30s
ack
"
$ack_phrase
"
$project_path
/logs/
$log_name
${
max_wait_log_generate_time
}
${
max_wait_ack_time
}
...
...
qa_shell_script/exception_sub_shell.sh
View file @
2119972f
...
...
@@ -45,6 +45,7 @@ function tranceConfig()
#4.13
tranceConfig java
"pay.debug=0"
"pay.debug=1"
"192.168.4.13"
"xyqb-mall.properties"
tranceConfig java
"red.packet.id=10000115"
"red.packet.id=56"
"192.168.4.13"
"xyqb-mall.properties"
tranceConfig java
"7002"
"7050"
"192.168.4.13"
"baitiao.properties"
tranceConfig java
"lkb.model.url=http:
\/\/
192.168.4.202
\/
Model
\/
openapi"
"lkb.model.url=http:
\/\/
192.168.4.13:8090
\/
Model
\/
openapi"
"192.168.4.13"
"baitiao.properties"
tranceConfig java
"xyqb.model.url=http:
\/\/
192.168.4.202
\/
Model
\/
openapi"
"xyqb.model.url=http:
\/\/
192.168.4.13:8090
\/
Model
\/
openapi"
"192.168.4.13"
"baitiao.properties"
...
...
qa_shell_script/initial_env/update_code.sh
0 → 100644
View file @
2119972f
#!/bin/bash
sh /home/qa-deploy-utils/qa_shell_script/2_get_code_by_type.sh all
sh /home/qa-deploy-utils/qa_shell_script/3_link_config_file_by_type.sh all
sh /home/qa-deploy-utils/qa_shell_script/3_link_config_file_by_type.sh all
sh /home/qa-deploy-utils/qa_shell_script/4_build_by_type.sh all
sh /home/qa-deploy-utils/qa_shell_script/5_restart_by_type.sh all
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