Browse Source

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

vmshay 5 năm trước cách đây
mục cha
commit
d24415e5f5
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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
 	}
 }