Skip to content

Commit

Permalink
fix parser for jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
reschandreas committed Jan 14, 2024
1 parent e002c32 commit 9b66583
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/templates/Jenkinsfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ post {
sh '''
mkdir -p results || true
cp {{ result.path }} $WORKSPACE/results/ || true
sed -i 's/[^[:print:] ]/�/g' $WORKSPACE/{{ result.path }} || true
sed -i 's/<testsuites>/<testsuite>/g ; s/<\\/testsuites>/<\\/testsuite>/g ; s/<testsuites /<testsuite /g' $WORKSPACE/results/{{ result.path.split("/")[-1] }} || true
sed -i 's/[^[:print:] ]//g' $WORKSPACE/results/{{ result.path.split("/")[-1] }} || true
'''
{%- endfor %}
}
Expand Down

0 comments on commit 9b66583

Please sign in to comment.