Преглед на файлове

Обновить '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