1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2024-12-13 11:27:08 +02:00

Конвертация списка строк в ResultsConfig allure-шага

This commit is contained in:
Nikita Gryzlov 2020-10-20 16:17:57 +03:00 committed by kuzja086
parent 67a46f4e13
commit 2f61ef2e36
2 changed files with 3 additions and 1 deletions

View File

@ -79,6 +79,7 @@ sharedLibrary {
pluginDependencies {
dependency("org.jenkins-ci.plugins", "pipeline-build-step", "2.12")
dependency("org.6wind.jenkins", "lockable-resources", "2.7")
dependency("ru.yandex.qatools.allure", "allure-jenkins-plugin", "2.28.1")
val declarativePluginsVersion = "1.6.0"
dependency("org.jenkinsci.plugins", "pipeline-model-api", declarativePluginsVersion)
dependency("org.jenkinsci.plugins", "pipeline-model-declarative-agent", "1.1.1")

View File

@ -1,6 +1,7 @@
package ru.pulsar.jenkins.library
import org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction
import ru.yandex.qatools.allure.jenkins.config.ResultsConfig
class StepExecutor implements IStepExecutor {
@ -122,7 +123,7 @@ class StepExecutor implements IStepExecutor {
jdk: '',
properties: [],
reportBuildPolicy: 'ALWAYS',
results: results
results: ResultsConfig.convertPaths(results)
])
}
}