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
c3ab8795
Commit
c3ab8795
authored
Feb 20, 2017
by
QA-甘 盛聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
3fad4be8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
4_build_by_name.sh
qa_shell_script/4_build_by_name.sh
+1
-1
4_build_by_type.sh
qa_shell_script/4_build_by_type.sh
+1
-1
No files found.
qa_shell_script/4_build_by_name.sh
View file @
c3ab8795
...
@@ -30,7 +30,7 @@ function buildJavaProject()
...
@@ -30,7 +30,7 @@ function buildJavaProject()
echo
"module is
$project
, need replace sms jar version from 1.0.x to 1.0.2"
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}'
`
num
=
`
grep
-n
-A12
"<id>test</id>"
$project_path
/
$project
/pom.xml|
grep
"<version>"
|
awk
-F-
'{print $1}'
`
echo
"----
$project
-----pom.xml file line:
$num
------------"
echo
"----
$project
-----pom.xml file line:
$num
------------"
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.
6.3-SNATSHOP
/"
$project_path
/
$project
/pom.xml
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.
5
/"
$project_path
/
$project
/pom.xml
fi
fi
if
[[
"
$project
"
=
"du-jiang-yan"
]]
;
then
if
[[
"
$project
"
=
"du-jiang-yan"
]]
;
then
...
...
qa_shell_script/4_build_by_type.sh
View file @
c3ab8795
...
@@ -24,7 +24,7 @@ function buildJavaProject()
...
@@ -24,7 +24,7 @@ function buildJavaProject()
if
[[
"
$project
"
=
"xyqb"
||
"
$project
"
=
"gu-bei"
||
"
$project
"
=
"han-gu-guan"
||
"
$project
"
=
"di-ting"
||
"
$project
"
=
"xyqb-offline"
||
"
$project
"
=
"xyqb-user"
]]
;
then
if
[[
"
$project
"
=
"xyqb"
||
"
$project
"
=
"gu-bei"
||
"
$project
"
=
"han-gu-guan"
||
"
$project
"
=
"di-ting"
||
"
$project
"
=
"xyqb-offline"
||
"
$project
"
=
"xyqb-user"
]]
;
then
echo
"module is
$project
, need replace sms jar version from 1.0.x to 1.0.2"
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}'
`
num
=
`
grep
-n
-A12
"<id>test</id>"
$project_path
/
$project
/pom.xml|
grep
"<version>"
|
awk
-F-
'{print $1}'
`
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.
6.3-SNATSHOP
/"
$project_path
/
$project
/pom.xml
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.
5
/"
$project_path
/
$project
/pom.xml
fi
fi
if
[[
"
$project
"
=
"du-jiang-yan"
]]
;
then
if
[[
"
$project
"
=
"du-jiang-yan"
]]
;
then
...
...
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