From bd06fe38fee41c42e630bf38993b862c0a600663 Mon Sep 17 00:00:00 2001 From: claraberendsen <42071084+claraberendsen@users.noreply.github.com> Date: Thu, 25 Jun 2026 18:02:34 -0300 Subject: [PATCH] prevent testing windows on Windows 10 platforms --- Since Windows 10 has gone EOL we should stop testing Windows CI for kilted and older. This change uses an artifact in the ParametrizedBuildTrigger plugin to prevent the build up based on a file creation. This file is dynamically generated with a bash script as the first build step. --- job_templates/ci_launcher_job.xml.em | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/job_templates/ci_launcher_job.xml.em b/job_templates/ci_launcher_job.xml.em index 0131d51e..69ddbdee 100644 --- a/job_templates/ci_launcher_job.xml.em +++ b/job_templates/ci_launcher_job.xml.em @@ -1,4 +1,4 @@ - + @@ -51,6 +51,20 @@ false + + + #!/bin/bash + REGEX="^(jazzy|humble|kilted)$" + + if [[ "$CI_ROS_DISTRO" =~ $REGEX ]]; then + echo "$CI_ROS_DISTRO targets an EOL Windows version. Skipping Windows CI" + rm -f trigger_win_build.properties + else + echo "Trigger Windows build for $CI_ROS_DISTRO" >> trigger_win_build.properties + fi + + +