diff --git a/src/ru/pulsar/jenkins/library/StepExecutor.groovy b/src/ru/pulsar/jenkins/library/StepExecutor.groovy index 8c1a2b0..df33b21 100644 --- a/src/ru/pulsar/jenkins/library/StepExecutor.groovy +++ b/src/ru/pulsar/jenkins/library/StepExecutor.groovy @@ -1,6 +1,7 @@ package ru.pulsar.jenkins.library import org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction +import ru.pulsar.jenkins.library.utils.Logger import ru.yandex.qatools.allure.jenkins.config.ResultsConfig class StepExecutor implements IStepExecutor { @@ -117,6 +118,7 @@ class StepExecutor implements IStepExecutor { @Override def allure(List results) { + Logger.println(ResultsConfig.convertPaths(results)) steps.allure([ commandline: 'allure', includeProperties: false, diff --git a/src/ru/pulsar/jenkins/library/steps/PublishAllure.groovy b/src/ru/pulsar/jenkins/library/steps/PublishAllure.groovy index de76c22..09d7569 100644 --- a/src/ru/pulsar/jenkins/library/steps/PublishAllure.groovy +++ b/src/ru/pulsar/jenkins/library/steps/PublishAllure.groovy @@ -32,6 +32,9 @@ class PublishAllure implements Serializable { List results = new ArrayList<>(); + Logger.println(allurePath.toString()) + Logger.println(allurePath.listDirectories().toString()) + allurePath.listDirectories().each { FilePath filePath -> results.add(filePath.getRemote()) } @@ -39,6 +42,8 @@ class PublishAllure implements Serializable { results.add(allurePath.getRemote()) } + Logger.println(results.toString()) + steps.allure(results) }