diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7de33f10177..2c6b128b0a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ variables: GRADLE_VERSION: "8.14.4" # must match gradle-wrapper.properties MAVEN_REPOSITORY_PROXY: "https://depot-read-api-java.us1.ddbuild.io/magicmirror/magicmirror/@current/" GRADLE_PLUGIN_PROXY: "https://depot-read-api-java.us1.ddbuild.io/magicmirror/magicmirror/@current/" - BUILDER_IMAGE_VERSION_PREFIX: "v26.02-" # use either an empty string (e.g. "") for latest images or a version followed by a hyphen (e.g. "v25.05-") + BUILDER_IMAGE_VERSION_PREFIX: "v26.03-" # use either an empty string (e.g. "") for latest images or a version followed by a hyphen (e.g. "v25.05-") REPO_NOTIFICATION_CHANNEL: "#apm-java-escalations" DEFAULT_TEST_JVMS: /^(8|11|17|21|25|tip)$/ # the latest "tip" version is 26 PROFILE_TESTS: diff --git a/.gitlab/add_final_status.xsl b/.gitlab/add_final_status.xsl new file mode 100644 index 00000000000..ea2958a85ae --- /dev/null +++ b/.gitlab/add_final_status.xsl @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + fail + skip + pass + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.gitlab/upload_ciapp.sh b/.gitlab/upload_ciapp.sh index 604adef1ad4..7d23067c387 100755 --- a/.gitlab/upload_ciapp.sh +++ b/.gitlab/upload_ciapp.sh @@ -75,6 +75,20 @@ coverage_upload() { datadog-ci coverage upload --ignored-paths=./test-published-dependencies . } +add_final_status_tags() { + echo "Add dd_tags[test.final_status] property to each testcase before upload" + local xsl_file + xsl_file="$(dirname "$0")/add_final_status.xsl" + find ./results -name '*.xml' | while read -r xml_file; do + local tmp_file + tmp_file="$(mktemp)" + xsltproc --output "$tmp_file" "$xsl_file" "$xml_file" + mv "$tmp_file" "$xml_file" + done +} + +add_final_status_tags + # Upload test results to production environment like all other CI jobs junit_upload "$DATADOG_API_KEY_PROD" junit_upload_status=$?