Skip to content

Commit 5031f38

Browse files
authored
Merge pull request #3768 from DataDog/revert-3693-cbeauchesne/final_status
Revert "chore(ci): add final_status property on junit XML [APMSP-2610]"
2 parents f4d0627 + 967870d commit 5031f38

2 files changed

Lines changed: 1 addition & 59 deletions

File tree

.gitlab/add_final_status.xsl

Lines changed: 0 additions & 50 deletions
This file was deleted.

.gitlab/upload-junit-to-datadog.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ elif command -v apt-get &> /dev/null; then
6363

6464
echo "Installing packages individually..."
6565
# Install packages one by one, continue if some fail
66-
for pkg in curl jq unzip nodejs npm xsltproc; do
66+
for pkg in curl jq unzip nodejs npm; do
6767
if ! command -v $pkg &> /dev/null; then
6868
echo "Installing $pkg..."
6969
$use_sudo apt-get install -y $pkg || echo "Warning: Failed to install $pkg, continuing..."
@@ -187,14 +187,6 @@ echo "${junit_files}"
187187

188188
mapfile -t files_array <<< "${junit_files}"
189189

190-
echo "Add final_status property"
191-
for xml_file in "${files_array[@]}"; do
192-
echo "Fixing $xml_file"
193-
tmp_file="$(mktemp)"
194-
xsltproc --output "$tmp_file" ".gitlab/add_final_status.xsl" "$xml_file"
195-
mv "$tmp_file" "$xml_file"
196-
done
197-
198190
# Normalize absolute paths to relative paths in JUnit XML files
199191
echo "Normalizing file paths in JUnit XML files..."
200192
for file in "${files_array[@]}"; do

0 commit comments

Comments
 (0)