Fix sanity and stacklight report
Related-Prod:PROD-36500
Change-Id: I1515ff1d47a17bea2a5574ecb01c66f2e87e91d9
diff --git a/jobs/pipelines/swarm-run-pytest.groovy b/jobs/pipelines/swarm-run-pytest.groovy
index 65004b9..431d238 100644
--- a/jobs/pipelines/swarm-run-pytest.groovy
+++ b/jobs/pipelines/swarm-run-pytest.groovy
@@ -64,7 +64,7 @@
export ${it}_installed=true"""}.join("\n")
shared.run_sh(sources + installed + """
- mkdir tmp
+ mkdir -p tmp
export PYTHONHTTPSVERIFY=0
export TESTS_CONFIGS=${ENV_NAME}_salt_deployed.ini
export ENV_MANAGER=$ENV_MANAGER # use 'hardware' fixture to manage fuel-devops environment
@@ -81,6 +81,7 @@
archiveArtifacts artifacts: "tmp/*"
shared.run_sh("""
cd ${PARENT_WORKSPACE}
+ cp tmp/* ./
rm -rf tmp/
""")