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