Commit 67796d84 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: pipeline fix

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent a867e4eb
...@@ -318,11 +318,11 @@ pipeline { ...@@ -318,11 +318,11 @@ pipeline {
if(fileExists("enb.log.${env.BUILD_ID}.zip")) { if(fileExists("enb.log.${env.BUILD_ID}.zip")) {
archiveArtifacts "enb.log.${env.BUILD_ID}.zip" archiveArtifacts "enb.log.${env.BUILD_ID}.zip"
} }
} if(fileExists("ci-scripts/test_results.html")) {
if(fileExists("ci-scripts/test_results.html")) { sh "mv ci-scripts/test_results.html test_results-${JOB_NAME}.html"
sh "mv ci-scripts/test_results.html test_results-${JOB_NAME}.html" sh "sed -i -e 's#TEMPLATE_JOB_NAME#${JOB_NAME}#' -e 's#TEMPLATE_BUILD_ID#${BUILD_ID}#' test_results-${JOB_NAME}.html"
sh "sed -i -e 's#TEMPLATE_JOB_NAME#${JOB_NAME}#' -e 's#TEMPLATE_BUILD_ID#${BUILD_ID}#' test_results-${JOB_NAME}.html" archiveArtifacts "test_results-${JOB_NAME}.html"
archiveArtifacts "test_results-${JOB_NAME}.html" }
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment