Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
唐文
/
AiyoZhuaWaWa
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
48126f56
authored
Nov 28, 2017
by
chengfengpiaopiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jenkins 非正式包增加时间戳后缀
parent
93ed3568
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
app/build.gradle
gradle.properties
app/build.gradle
View file @
48126f56
...
...
@@ -12,6 +12,13 @@ if (customPropsFile.canRead()) {
}
println
(
"suffixName: "
+
suffixName
[
networkType
])
def
getDate
()
{
def
date
=
new
Date
()
def
formattedDate
=
date
.
format
(
'yyyyMMddHHmm'
)
return
formattedDate
}
android
{
compileSdkVersion
23
buildToolsVersion
"23.0.3"
...
...
@@ -80,7 +87,7 @@ android {
}
else
{
channelName
=
PRODUCT_FLAAVOR_BUILD
def
env
=
ENVIRONMENT
def
packTime
=
JENKINS_TIME
def
packTime
=
getDate
();
def
fileName
;
//outputFile = "/vagrant/jenkins/jenkins-workspace/walleApps"
outputFile
=
"/var/jenkins_home/walleApps"
...
...
gradle.properties
View file @
48126f56
...
...
@@ -33,4 +33,5 @@ IS_JENKINS = false
ENVIRONMENT
=
"debug"
PRODUCT_FLAAVOR_BUILD
=
"base"
JENKINS_TIME
=
""
\ No newline at end of file
#dynamicparamter has a bug
JENKINS_TIME
=
""
\ No newline at end of file
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