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
fb5ce005
Commit
fb5ce005
authored
Apr 13, 2017
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finace-api add sms-sdk
parent
f7b1e2d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
4_build_by_name.sh
qa_shell_script/4_build_by_name.sh
+6
-0
4_build_by_type.sh
qa_shell_script/4_build_by_type.sh
+6
-0
No files found.
qa_shell_script/4_build_by_name.sh
View file @
fb5ce005
...
@@ -46,6 +46,12 @@ function buildJavaProject()
...
@@ -46,6 +46,12 @@ function buildJavaProject()
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
fi
fi
if
[[
"
$project
"
=
"finance-api"
]]
;
then
num
=
`
grep
-n
-A1
"<artifactId>quantgroup-sms-sdk</artifactId>"
$project_path
/
$project
/pom.xml|
grep
"<version>"
|
awk
-F-
'{print $1}'
`
echo
"----
$project
-----pom.xml file line:
$num
------------"
sed
-i
"
${
num
}
s/1.0.6.3/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
fi
echo
"mvn clean package -P
${
profile
}
-Dmaven.test.skip=true"
echo
"mvn clean package -P
${
profile
}
-Dmaven.test.skip=true"
mvn clean package
-P
${
profile
}
-Dmaven
.test.skip
=
true
mvn clean package
-P
${
profile
}
-Dmaven
.test.skip
=
true
if
[[
$project
==
"baitiao"
]]
;
then
if
[[
$project
==
"baitiao"
]]
;
then
...
...
qa_shell_script/4_build_by_type.sh
View file @
fb5ce005
...
@@ -39,6 +39,12 @@ function buildJavaProject()
...
@@ -39,6 +39,12 @@ function buildJavaProject()
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
fi
fi
if
[[
"
$project
"
=
"finance-api"
]]
;
then
num
=
`
grep
-n
-A1
"<artifactId>quantgroup-sms-sdk</artifactId>"
$project_path
/
$project
/pom.xml|
grep
"<version>"
|
awk
-F-
'{print $1}'
`
echo
"----
$project
-----pom.xml file line:
$num
------------"
sed
-i
"
${
num
}
s/1.0.6.3/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
fi
echo
"mvn clean package -P
${
profile
}
-Dmaven.test.skip=true"
echo
"mvn clean package -P
${
profile
}
-Dmaven.test.skip=true"
mvn clean package
-P
${
profile
}
-Dmaven
.test.skip
=
true
mvn clean package
-P
${
profile
}
-Dmaven
.test.skip
=
true
...
...
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