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
8ddd8aef
Commit
8ddd8aef
authored
Jun 06, 2017
by
tywldx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8ac91e03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
6 deletions
+25
-6
close_captcha.sh
qa_shell_script/hack_project/close_captcha.sh
+25
-0
update_code.sh
qa_shell_script/initial_env/update_code.sh
+0
-6
No files found.
qa_shell_script/hack_project/close_captcha.sh
0 → 100644
View file @
8ddd8aef
# -------------------------------------------------------------------------------
# Filename: java_deploy.sh
# Revision: 1.0
# Date: 2016/09
# Author: Xiaolin.zhu
# Description: 该脚本负责build java项目。
# Usage:used by ../deploy/java_deploy.sh
# -------------------------------------------------------------------------------
project_name
=
han-gu-guan
pwd_path
=
"/home/qa-deploy-utils/qa_shell_script"
if
[[
"
$module
"
=
"han-gu-guan"
]]
;
then
cd
/home/quant_group/han-gu-guan
echo
"关闭验证码"
num
=
`
grep
-n
"Boolean validCaptcha"
src/main/java/cn/quantgroup/xyqb/aspect/captcha/CaptchaValidateAdvisor.java|awk
-F
':'
'{print $1}'
`
sed
-i
"
${
num
}
s/false/true/"
src/main/java/cn/quantgroup/xyqb/aspect/captcha/CaptchaValidateAdvisor.java
num1
=
`
expr
${
num
}
+ 1
`
num6
=
`
expr
${
num
}
+ 7
`
echo
"注释掉第
${
num1
}
行到
${
num6
}
行"
sed
-i
"
${
num1
}
i/*"
src/main/java/cn/quantgroup/xyqb/aspect/captcha/CaptchaValidateAdvisor.java
sed
-i
"
${
num6
}
i*/"
src/main/java/cn/quantgroup/xyqb/aspect/captcha/CaptchaValidateAdvisor.java
fi
sh
$pwd_path
/4_build_by_name.sh
$project_name
sh
$pwd_path
/5_restart_by_name.sh
$project_name
qa_shell_script/initial_env/update_code.sh
deleted
100644 → 0
View file @
8ac91e03
#!/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