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
77f0a34d
Commit
77f0a34d
authored
Jun 07, 2017
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove jar first
parent
075aba10
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
2_get_code_by_name.sh
qa_shell_script/2_get_code_by_name.sh
+1
-1
4_build_by_name.sh
qa_shell_script/4_build_by_name.sh
+2
-1
4_build_by_type.sh
qa_shell_script/4_build_by_type.sh
+1
-0
No files found.
qa_shell_script/2_get_code_by_name.sh
View file @
77f0a34d
...
...
@@ -13,7 +13,7 @@ if [ -n "$project_folder" ];then
type
=
`
node
$config_server
/get_project_config.js
-name
$project_name
-attr
type
`
if
[
"
$type
"
=
"node"
]
;
then
command2
=
`
node
$config_server
/get_project_config.js
-name
$project_name
-attr
command2
`
#
command2
command2
fi
sh
$config_server
/show_info.sh
$project_name
pull代码
$desc
$3
cd
./
$project_name
...
...
qa_shell_script/4_build_by_name.sh
View file @
77f0a34d
...
...
@@ -25,7 +25,8 @@ function buildJavaProject()
cd
$project_path
/
$project
rm
-rf
./target/
rm
-rf
$project
.jar
if
[[
"
$project
"
=
"xyqb"
||
"
$project
"
=
"gu-bei"
||
"
$project
"
=
"han-gu-guan"
||
"
$project
"
=
"di-ting"
||
"
$project
"
=
"xyqb-offline"
||
"
$project
"
=
"xyqb-user2"
]]
;
then
echo
"module is
$project
, need replace sms jar version from 1.0.x to 1.0.2"
num
=
`
grep
-n
-A12
"<id>test</id>"
$project_path
/
$project
/pom.xml|
grep
"<version>"
|
awk
-F-
'{print $1}'
`
...
...
qa_shell_script/4_build_by_type.sh
View file @
77f0a34d
...
...
@@ -22,6 +22,7 @@ function buildJavaProject()
sh
$config_server
/show_info.sh
$project
"打包BUILD"
$desc
$2
cd
$project_path
/
$project
rm
-rf
./target/
rm
-rf
$project
.jar
if
[[
"
$project
"
=
"xyqb"
||
"
$project
"
=
"gu-bei"
||
"
$project
"
=
"han-gu-guan"
||
"
$project
"
=
"di-ting"
||
"
$project
"
=
"xyqb-offline"
||
"
$project
"
=
"xyqb-user2"
]]
;
then
echo
"module is
$project
, need replace sms jar version from 1.0.x to 1.0.2"
...
...
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