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