Explorar o código

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

vmshay %!s(int64=5) %!d(string=hai) anos
pai
achega
d24415e5f5
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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
 	}
 }