From afbaca0c1d86bb7c68e1a3e5d440f4197fecfb00 Mon Sep 17 00:00:00 2001 From: Karsten Jeppesen Date: Wed, 8 Apr 2026 12:19:32 +0200 Subject: [PATCH] AI-check only in branch: Security --- .workflow/Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.workflow/Jenkinsfile b/.workflow/Jenkinsfile index 462d364..f38054a 100644 --- a/.workflow/Jenkinsfile +++ b/.workflow/Jenkinsfile @@ -66,6 +66,9 @@ pipeline { } stage('Detect Changes') { + when { + branch 'Security' + } steps { sh ".workflow/get_changed_files.sh \"$CHANGED_FILES_FILE\"" archiveArtifacts artifacts: "$CHANGED_FILES_FILE", allowEmptyArchive: true @@ -73,6 +76,9 @@ pipeline { } stage('Filter Text Files') { + when { + branch 'Security' + } steps { sh ".workflow/filter_text_files.sh \"$CHANGED_FILES_FILE\" \"$TEXT_FILES_FILE\"" archiveArtifacts artifacts: "$TEXT_FILES_FILE", allowEmptyArchive: true