Add getting logs from jobs
Related-Prod:PROD-36500
Change-Id: I4f8a999ceb03fe7a80f9bbf9a2d9252084ef95f1
diff --git a/src/com/mirantis/system_qa/SharedPipeline.groovy b/src/com/mirantis/system_qa/SharedPipeline.groovy
index e83a94b..73a106a 100644
--- a/src/com/mirantis/system_qa/SharedPipeline.groovy
+++ b/src/com/mirantis/system_qa/SharedPipeline.groovy
@@ -396,8 +396,8 @@
]
common.printMsg("Start building job 'swarm-run-pytest' with parameters:", "purple")
common.prettyPrint(parameters)
- build job: 'swarm-run-pytest',
- parameters: parameters
+ swarm_run_pytest_build = build(job: 'swarm-run-pytest', parameters: parameters)
+ copyArtifacts(projectName: 'swarm-run-pytest', selector: specific(swarm_run_pytest_build.getId()))
}
def swarm_testrail_report(String passed_steps, String node_with_reports) {