Parcourir la source

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

vmshay il y a 5 ans
Parent
commit
165b3da9d3
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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 {