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
9cf1fca1
Commit
9cf1fca1
authored
Feb 16, 2017
by
QA-甘 盛聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5d46f14f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
2_get_code_by_name.sh
qa_shell_script/2_get_code_by_name.sh
+1
-2
4_build_by_name.sh
qa_shell_script/4_build_by_name.sh
+1
-1
No files found.
qa_shell_script/2_get_code_by_name.sh
View file @
9cf1fca1
...
@@ -6,8 +6,7 @@ config_server="$pwd_path/config_server"
...
@@ -6,8 +6,7 @@ config_server="$pwd_path/config_server"
project_path
=
`
cat
$config_server
/project_path.sh
`
project_path
=
`
cat
$config_server
/project_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
echo
-e
"
\0
33[40;32m 执行2_get_code_by_name
\0
33[0m"
#echo -e "\033[40;32m 执行2_get_code_by_name \033[0m"
cd
$project_path
cd
$project_path
project_folder
=
`
find ./
-maxdepth
1
-name
"
$project_name
"
`
project_folder
=
`
find ./
-maxdepth
1
-name
"
$project_name
"
`
...
...
qa_shell_script/4_build_by_name.sh
View file @
9cf1fca1
...
@@ -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-SNAPSHOT
/"
$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