Browse Source

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

vmshay 5 years ago
parent
commit
165b3da9d3
1 changed files with 2 additions and 1 deletions
  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 {