Browse Source

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

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

+ 1 - 1
Jenkins/jenkinsfile

@@ -4,7 +4,7 @@ def GetLog(url) {
     withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'TOKEN')]){
     withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'TOKEN')]){
     responce = httpRequest(httpMode: 'GET',
     responce = httpRequest(httpMode: 'GET',
       url: 'http://admin:$TOKEN@$link/consoleText',
       url: 'http://admin:$TOKEN@$link/consoleText',
-      validResponces: '200')
+      validResponceCodes: '200')
     return responce
     return responce
 	}
 	}
 }
 }