Explorar el Código

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

vmshay hace 5 años
padre
commit
165b3da9d3
Se han modificado 1 ficheros con 2 adiciones y 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 {