From 8cd3f55a7285341b4baa8b0d69b7bdf1fac11ad9 Mon Sep 17 00:00:00 2001 From: Illia Silin <98187287+illsilin@users.noreply.github.com> Date: Fri, 6 Feb 2026 10:17:02 -0800 Subject: [PATCH] [CK] fix path for build filter (#4375) ## Motivation Fix the filter that determines whether CI builds are necessary. ## Technical Details A script checks the files list returned by git diff and checks whether any code source was modified. If not, if only documentation was changed, it will allow skipping the builds. We make sure we only look at the changes in projects/composablekernel/ folder. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 59d99c9f8d..9d775bf848 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -272,10 +272,10 @@ def shouldRunCICheck() { script: ''' if [ "$CHANGE_ID" != "" ]; then # For PR builds, compare against target branch - git diff --name-only origin/$CHANGE_TARGET...HEAD + git diff --name-only origin/$CHANGE_TARGET...HEAD --projects/composablekernel/ else # For regular builds, compare against previous commit - git diff --name-only HEAD~1..HEAD + git diff --name-only HEAD~1..HEAD --projects/composablekernel/ fi ''' ).trim().split('\n')