Browse Source

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

vmshay 5 years ago
parent
commit
d24415e5f5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Jenkins/jenkinsfile

+ 2 - 1
Jenkins/jenkinsfile

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