Selaa lähdekoodia

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

vmshay 5 vuotta sitten
vanhempi
commit
12e5a9695f
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      Jenkins/jenkinsfile

+ 2 - 2
Jenkins/jenkinsfile

@@ -2,8 +2,8 @@
 def GetLog(build_url) {
 	def logurl = build_url + 'consoleText'
 	def strip = logurl.replaceAll('http://','')
-	def creds = "admin:admin"
-	String auth = creds.bytes.encodeBase64().toString()
+	def creds = "admin:QWEasd123"
+	def auth = creds.bytes.encodeBase64().toString()
 
     withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')]){
     	responce = httpRequest(contentType: 'APPLICATION_JSON',