Commit 2d636b28 authored by Raphael Defosseux's avatar Raphael Defosseux

fix in sed syntax

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 41cb7fb4
Pipeline #10754 passed with stage
in 0 seconds
......@@ -92,7 +92,7 @@ pipeline {
sh "./bin/test2"
sh "./bin/test3"
echo "TERMINATE is ${TERMINATE_STATUS}"
sh "sed -e 's#TEMPLATE_JOB_NAME#${JOB_NAME}#' -e 's#TEMPLATE_BUILD_ID#${BUILD_ID}#' -e 's#TEMPLATE_GIT_URL#${GIT_URL}#' -e 's#TEMPLATE_GIT_BRANCH#${GIT_BRANCH}#' -e 's#TEMPLATE_GIT_COMMIT#${GIT_COMMIT}#' -e 's#TEMPLATE_JOB_TIMESTAMP#${JOB_TIMESTAMP}#' scripts/template_results.html > test_results.html"
sh "sed -e 's#TEMPLATE_JOB_NAME#${JOB_NAME}#g' -e 's#TEMPLATE_BUILD_ID#${BUILD_ID}#g' -e 's#TEMPLATE_GIT_URL#${GIT_URL}#g' -e 's#TEMPLATE_GIT_BRANCH#${GIT_BRANCH}#g' -e 's#TEMPLATE_GIT_COMMIT#${GIT_COMMIT}#g' -e 's#TEMPLATE_JOB_TIMESTAMP#${JOB_TIMESTAMP}#g' scripts/template_results.html > test_results.html"
}
} catch (Exception e) {
currentBuild.result = 'FAILURE'
......
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