Skip to content

Commit 6c9d22a

Browse files
authored
Add .ci to the list of directories that trigger all travis builds (#17387)
1 parent 5cd20e6 commit 6c9d22a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.ci/scripts/travis_has_changes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -exuo pipefail
33

44
# Changes on these files will trigger all builds.
5-
COMMON_DIRLIST="vendor dev-tools .travis.yml testing"
5+
COMMON_DIRLIST="vendor dev-tools .travis.yml testing .ci"
66

77
# Commit range to check for. For example master...<PR branch>
88
RANGE=$TRAVIS_COMMIT_RANGE

Jenkinsfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,7 @@ def isChangedOSSCode(patterns) {
835835
"^libbeat/*",
836836
"^testing/*",
837837
"^dev-tools/*",
838+
"^\\.ci/*",
838839
]
839840
return isChanged(always + patterns)
840841
}
@@ -847,6 +848,7 @@ def isChangedXPackCode(patterns) {
847848
"^dev-tools/*",
848849
"^testing/*",
849850
"^x-pack/libbeat/.*",
851+
"^\\.ci/*",
850852
]
851853
return isChanged(always + patterns)
852854
}

0 commit comments

Comments
 (0)