AI-check only in branch: Security
This commit is contained in:
6
.workflow/Jenkinsfile
vendored
6
.workflow/Jenkinsfile
vendored
@@ -66,6 +66,9 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stage('Detect Changes') {
|
stage('Detect Changes') {
|
||||||
|
when {
|
||||||
|
branch 'Security'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh ".workflow/get_changed_files.sh \"$CHANGED_FILES_FILE\""
|
sh ".workflow/get_changed_files.sh \"$CHANGED_FILES_FILE\""
|
||||||
archiveArtifacts artifacts: "$CHANGED_FILES_FILE", allowEmptyArchive: true
|
archiveArtifacts artifacts: "$CHANGED_FILES_FILE", allowEmptyArchive: true
|
||||||
@@ -73,6 +76,9 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stage('Filter Text Files') {
|
stage('Filter Text Files') {
|
||||||
|
when {
|
||||||
|
branch 'Security'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh ".workflow/filter_text_files.sh \"$CHANGED_FILES_FILE\" \"$TEXT_FILES_FILE\""
|
sh ".workflow/filter_text_files.sh \"$CHANGED_FILES_FILE\" \"$TEXT_FILES_FILE\""
|
||||||
archiveArtifacts artifacts: "$TEXT_FILES_FILE", allowEmptyArchive: true
|
archiveArtifacts artifacts: "$TEXT_FILES_FILE", allowEmptyArchive: true
|
||||||
|
|||||||
Reference in New Issue
Block a user