Update sec stage
Change-Id: Id23cbe999bcb0e3154bb05e394a7d78601c85fce
diff --git a/jobs/pipelines/deploy-cicd-and-run-tests.groovy b/jobs/pipelines/deploy-cicd-and-run-tests.groovy
index 1af17d1..d0fb64d 100644
--- a/jobs/pipelines/deploy-cicd-and-run-tests.groovy
+++ b/jobs/pipelines/deploy-cicd-and-run-tests.groovy
@@ -161,8 +161,11 @@
shared.swarm_testrail_report(steps, node_with_reports)
}
stage("Store TestRail reports to job description") {
- def String description = readFile("description.txt")
- currentBuild.description += "${description}"
+ if (fileExists("jenkins_agent_description.txt")){
+
+ def String jenkins_agent_description = readFile("jenkins_agent_description.txt")
+ currentBuild.description += "${jenkins_agent_description}"
+ }
}
}
} // try