Sfoglia il codice sorgente

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

vmshay 5 anni fa
parent
commit
3a4fe8b073
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Jenkins/jenkinsfile

+ 1 - 1
Jenkins/jenkinsfile

@@ -5,7 +5,7 @@ def GetLog(build_url) {
 
 
     withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')]){
     withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')]){
     	responce = httpRequest(httpMode: 'POST',
     	responce = httpRequest(httpMode: 'POST',
-		url: 'http://admin:QWEasd123@' + strip)
+		url: 'http://admin:' + token +'@' + strip)
     return strip
     return strip
 	}
 	}
 }
 }