Преглед изворни кода

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

vmshay пре 5 година
родитељ
комит
12e5a9695f
1 измењених фајлова са 2 додато и 2 уклоњено
  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',