Commit 2d0a2e02 by chengfengpiaopiao

jnekins IS_JENKINS改为booleanl类型

parent 8ce7b951
......@@ -80,17 +80,17 @@ android {
android.applicationVariants.all { variant ->
variant.outputs.each { output ->
def outputFile = output.outputFile
print("outputFile" + outputFile);
print("outputFile" + outputFile)
def channelName = variant.productFlavors[0].name
def fileName
def projectName = PROJECT_NAME
if ("false".equals(IS_JENKINS)) {
if (IS_JENKINS) {
fileName = "duobaojingcai_${channelName}_v${defaultConfig.versionName}${suffixName[networkType]}.apk"
outputFile = "G:/Apks/${projectName}"
} else {
channelName = PRODUCT_FLAAVOR_BUILD
def env = ENVIRONMENT
def packTime = getDate();
def packTime = getDate()
outputFile = "/vagrant/jenkins/jenkins-workspace/walleApps/${projectName}"
if ("release".equals(env)) {
fileName = "duobaojingcai_${channelName}_v${defaultConfig.versionName}_${env}.apk"
......
......@@ -2,7 +2,6 @@ package com.maile.jingcai.base;
import android.os.Environment;
import com.maile.jingcai.BuildConfig;
/**
* Created by chengfeng-piaopiao on 2017/11/9.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment