浏览代码

Обновить 'Jenkins/jenkinsfile'

vmshay 5 年之前
父节点
当前提交
02f102920c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Jenkins/jenkinsfile

+ 1 - 0
Jenkins/jenkinsfile

@@ -5,6 +5,7 @@ def GetLog(build_url) {
 		def auth = creds.bytes.encodeBase64().toString()
     	responce = httpRequest(httpMode: 'GET',
 		url: build_url + 'consoleText',
+		contentType: 'TEXT_PLAIN',
 		customHeaders:[[name:'Authorization', value:"Basic ${auth}"]],
 		validResponceCodes: '200')
 		def ctx = response.content