浏览代码

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

vmshay 5 年之前
父节点
当前提交
165b3da9d3
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Jenkins/jenkinsfile

+ 2 - 1
Jenkins/jenkinsfile

@@ -1,10 +1,11 @@
 #!groovy
 def GetLog(build_url) {
+	def logurl = build_url + '/consoleText'
     //withCredentials([string(credentialsId: 'JenkinsApi', variable: 'token')])
     //responce = httprequest(httpMode: 'GET',
     //  url: 'http//admin:token@${BUILD_URL}/consoleText',
     //  validResponces: '200')
-    return build_url
+    return logurl
 }
 
 pipeline {