Commit 3c84a50d authored by tongzifang's avatar tongzifang

fix 换行

parent 7e7e5587
......@@ -250,7 +250,7 @@ task hot{
}
group 'com.qmai.android.plugin'
version '1.99.3'
version '1.99.4'
gradlePublish {
......
......@@ -83,7 +83,7 @@ class OssUploadTask extends DefaultTask {
//钉钉通知
MediaType JSON = MediaType.parse("application/json; charset=utf-8");
def gson = new Gson()
def content = "${appName.isEmpty() ? file.name : appName}: 下载地址为: https://files.qmai.cn/$ossPath$fileName\n当前分支: ${getBranch()}当前环境: $buildType\n目标cpu: $flavor"
def content = "${appName.isEmpty() ? file.name : appName}: 下载地址为: https://files.qmai.cn/$ossPath$fileName\n当前环境: $buildType\n目标cpu: $flavor\n当前分支: ${getBranch()}"
def dingDingdetail = new FsDetailInfoModel(content)
def dingdingInfo = new FsInfoModel(dingDingdetail)
RequestBody requestBody = RequestBody.create(JSON, gson.toJson(dingdingInfo))
......
......@@ -79,7 +79,7 @@ class PygerUploadTask extends DefaultTask {
println("getBranch error = " + e.message)
}
String content = "${appName.isEmpty() ? file.name : appName}: 下载地址为: https://www.pgyer.com/$payInfoBean.data.buildShortcutUrl\n二维码地址: $payInfoBean.data.buildQRCodeURL\n当前分支: ${branch}\n当前环境: $buildType\n目标cpu: $flavor"
String content = "${appName.isEmpty() ? file.name : appName}: 下载地址为: https://www.pgyer.com/$payInfoBean.data.buildShortcutUrl\n二维码地址: $payInfoBean.data.buildQRCodeURL\n当前环境: $buildType\n目标cpu: $flavor\n当前分支: ${branch}"
println("fs content = ${content}")
MediaType JSON = MediaType.parse("application/json; charset=utf-8");
try {
......
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 to comment