소스 검색

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

vmshay 5 년 전
부모
커밋
d24415e5f5
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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
 	}
 }