We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4163d commit c4e35f7Copy full SHA for c4e35f7
.gitlab/upload_ciapp.sh
@@ -82,17 +82,8 @@ add_final_status_tags() {
82
find ./results -name '*.xml' | while read -r xml_file; do
83
local tmp_file
84
tmp_file="$(mktemp)"
85
- if xsltproc --output "$tmp_file" "$xsl_file" "$xml_file" 2>/dev/null; then
86
- echo "before $xml_file"
87
- cat $xml_file
88
- echo "after $tmp_file"
89
- cat $tmp_file
90
- mv "$tmp_file" "$xml_file"
91
- else
92
- echo Fail $xml_file
93
- xsltproc --output "$tmp_file" "$xsl_file" "$xml_file"
94
- rm -f "$tmp_file"
95
- fi
+ xsltproc --output "$tmp_file" "$xsl_file" "$xml_file"
+ mv "$tmp_file" "$xml_file"
96
done
97
}
98
0 commit comments