浏览代码

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

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

+ 1 - 2
Jenkins/jenkinsfile

@@ -4,8 +4,7 @@ def GetLog(build_url) {
     withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')]){
 		def creds = 'admin:' + token
 		def auth = creds.bytes.encodeBase64().toString()
-    	responce = httpRequest(contentType: 'APPLICATION_JSON', 
-		httpMode: 'GET',
+    	responce = httpRequest(httpMode: 'GET',
 		url: 'http://' + strip + 'consoleText',
 		customHeaders:[[name:'Authorization', value:"Basic ${auth}"]])
     return responce