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
01905192
Commit
01905192
authored
Feb 24, 2017
by
tywldx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gu-bei callback
parent
371d9592
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
sub_shell.sh
qa_shell_script/sub_shell.sh
+4
-0
No files found.
qa_shell_script/sub_shell.sh
View file @
01905192
...
...
@@ -24,8 +24,12 @@ do
sed
-i
"s/target_mq_host_name/
${
IP_host_first
}${
ip_last_num
}
/"
$dir
/java/
*
if
[
$ip_last_num
-lt
100
]
;
then
sed
-i
"s/target_host_name:7/
${
public_ip
}
:
${
ip_last_num
}
/g"
$dir
/public/java/
*
#gu-bei的回调接口都改成外网接口
sed
-i
"s/callback=http:
\/\/
${
IP_host_first
}${
ip_last_num
}
:7006/callback=http:
\/\/
${
public_ip
}
:
${
ip_last_num
}
006/g"
$dir
/java/gu-bei.properties
else
sed
-i
"s/target_host_name:70/
${
public_ip
}
:
${
ip_last_num
}
/g"
$dir
/public/java/
*
#gu-bei的回调接口都改成外网接口
sed
-i
"s/callback=http:
\/\/
${
IP_host_first
}${
ip_last_num
}
:7006/callback=http:
\/\/
${
public_ip
}
:
${
ip_last_num
}
06/g"
$dir
/java/gu-bei.properties
fi
sed
-i
"s/target_host_name/
${
public_ip
}
/g"
$dir
/public/java/
*
sed
-i
"s/target_mq_host_name/
${
IP_host_first
}${
ip_last_num
}
/"
$dir
/public/java/
*
...
...
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