浏览代码

Обновить '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',