Explorar o código

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

vmshay %!s(int64=5) %!d(string=hai) anos
pai
achega
165b3da9d3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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 {