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
86a11333
Commit
86a11333
authored
Apr 11, 2017
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改回去
parent
7d7603f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
exception_sub_shell.sh
qa_shell_script/exception_sub_shell.sh
+16
-8
No files found.
qa_shell_script/exception_sub_shell.sh
View file @
86a11333
...
@@ -15,37 +15,39 @@ function tranceConfig()
...
@@ -15,37 +15,39 @@ function tranceConfig()
"
"
if
[
"
$type_
"
=
"java"
]
if
[
"
$type_
"
=
"java"
]
then
then
sed
-i
"
s#
$source_str
#
$target_str
#
g"
$base_path
/
$ip_host
/java/
$file_name
sed
-i
"
N;s/
$source_str
/
$target_str
/
g"
$base_path
/
$ip_host
/java/
$file_name
sed
-i
"
s#
$source_str
#
$target_str
#
g"
$base_path
/
$ip_host
/public/java/
$file_name
sed
-i
"
N;s/
$source_str
/
$target_str
/
g"
$base_path
/
$ip_host
/public/java/
$file_name
elif
[
"
$type_
"
=
"ui"
]
elif
[
"
$type_
"
=
"ui"
]
then
then
sed
-i
"s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/ui/
$file_name
sed
-i
"
N;
s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/ui/
$file_name
elif
[
"
$type_
"
=
"python"
]
elif
[
"
$type_
"
=
"python"
]
then
then
sed
-i
"s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/python/
$file_name
sed
-i
"
N;
s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/python/
$file_name
elif
[
"
$type_
"
=
"node"
]
elif
[
"
$type_
"
=
"node"
]
then
then
sed
-i
"s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/node/
$file_name
sed
-i
"
N;
s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/node/
$file_name
elif
[
"
$type_
"
=
"nginx"
]
elif
[
"
$type_
"
=
"nginx"
]
then
then
sed
-i
"s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/nginx_conf.d/
$file_name
sed
-i
"
N;
s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/nginx_conf.d/
$file_name
fi
fi
}
}
tranceConfig java
"pay.debug=0"
"pay.debug=1"
"192.168.4.151"
"xyqb-mall.properties"
tranceConfig java
"pay.debug=0"
"pay.debug=1"
"192.168.4.151"
"xyqb-mall.properties"
tranceConfig java
'cardniu.client.url=http://kn.feidee.net/loanmanage/loan/partner/k_n_user_quota_client.do'
'cardniu.client.url=http://192.168.4.248/mockjs/31/loanmanage/loan/partner/k_n_user_quota_client.do'
"192.168.4.14"
"xyqb.properties"
#
tranceConfig java 'cardniu.client.url=http://kn.feidee.net/loanmanage/loan/partner/k_n_user_quota_client.do' 'cardniu.client.url=http://192.168.4.248/mockjs/31/loanmanage/loan/partner/k_n_user_quota_client.do' "192.168.4.14" "xyqb.properties"
tranceConfig java
"cardniu.url=http://kn.feidee.net/loanmanage/loan/partner/k_n_user_quota.do"
"cardniu.url=http://192.168.4.248/mockjs/31/loanmanage/loan/partner/k_n_user_quota.do"
"192.168.4.14"
"xyqb.properties"
#
tranceConfig java "cardniu.url=http://kn.feidee.net/loanmanage/loan/partner/k_n_user_quota.do" "cardniu.url=http://192.168.4.248/mockjs/31/loanmanage/loan/partner/k_n_user_quota.do" "192.168.4.14" "xyqb.properties"
#tranceConfig java "192.168.4.3" "192.168.4.17" "192.168.4.17" "*"
#tranceConfig java "192.168.4.3" "192.168.4.17" "192.168.4.17" "*"
#tranceConfig java "sms.is.debug=1" "sms.is.debug=0" "192.168.4.24" "di-ting.properties"
#tranceConfig java "sms.is.debug=1" "sms.is.debug=0" "192.168.4.24" "di-ting.properties"
#tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.24" "xyqb.properties"
#tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.24" "xyqb.properties"
#tranceConfig node "192.168.4.3" "192.168.4.107" "192.168.4.12" "AppBackend.js"
#tranceConfig node "192.168.4.3" "192.168.4.107" "192.168.4.12" "AppBackend.js"
tranceConfig java
"xyqb.is.debug=0"
"xyqb.is.debug=1"
"192.168.4.151"
"xyqb.properties"
tranceConfig java
"xyqb.is.debug=0"
"xyqb.is.debug=1"
"192.168.4.151"
"xyqb.properties"
tranceConfig java
"xyqb.is.debug=0"
"xyqb.is.debug=1"
"192.168.4.14"
"xyqb.properties"
tranceConfig java
"xyqb.is.debug=0"
"xyqb.is.debug=1"
"192.168.4.14"
"xyqb.properties"
tranceConfig java
"liebao.aes.key=0123456789abcdef"
"liebao.aes.key=e2XNtnB8QEEuvhEW"
"192.168.4.151"
"cash-loan-flow.properties"
tranceConfig java
"liebao.md5.key=0123456"
"liebao.md5.key=8KRrA2U"
"192.168.4.151"
"cash-loan-flow.properties"
#tranceConfig ui "7047" "12047" "192.168.4.12" "merchant-op-ui.js"
#tranceConfig ui "7047" "12047" "192.168.4.12" "merchant-op-ui.js"
tranceConfig node
"d45o0qd"
"5exp2xo"
"192.168.4.152"
"op-api.js"
tranceConfig node
"d45o0qd"
"5exp2xo"
"192.168.4.152"
"op-api.js"
#tranceConfig java "192.168.4.15:7007" "139.198.2.95:1507" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "192.168.4.15:7007" "139.198.2.95:1507" "192.168.4.15" "gu-bei.properties"
...
@@ -68,3 +70,9 @@ tranceConfig node "112233445512345.ittun.com" "activity-op-24.ss.xyqb.loan" "192
...
@@ -68,3 +70,9 @@ tranceConfig node "112233445512345.ittun.com" "activity-op-24.ss.xyqb.loan" "192
tranceConfig java
"7002"
"7050"
"192.168.4.13"
"baitiao.properties"
tranceConfig java
"7002"
"7050"
"192.168.4.13"
"baitiao.properties"
tranceConfig java
"192.168.4.23:3306"
"192.168.4.8:3306"
"192.168.4.23"
"*"
tranceConfig node
"db: {
\n
host: '192.168.4.23'"
"db: {
\n
host: '192.168.4.8'"
"192.168.4.23"
"*"
tranceConfig node
"dbIp: '192.168.4.23'"
"dbIp: '192.168.4.8'"
"192.168.4.23"
"*"
tranceConfig python
"ip=192.168.4.23"
"ip=192.168.4.8"
"192.168.4.23"
"qin-qiong*"
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