Fixing file matching regex

This commit is contained in:
andrew clark
2025-10-07 12:53:19 -06:00
parent a2e7dc5a44
commit 3dfc9fb8d2

10
Jenkinsfile vendored
View File

@@ -49,11 +49,11 @@ def runShell(String command){
def shouldRunCICheck() {
// Define patterns for files that should not trigger CI
def skipFilePatterns = [
'^\.github\/.*', // GitHub workflow files
'^docs\/.*', // Documentation files
'^LICENSE$', // License file
'^.*\.gitignore$', // Git ignore files
'.*\.md$' // Markdown files
~/^\.github\/.*/, // GitHub workflow files
~/^docs\/.*/, // Documentation files
~/^LICENSE$/, // License file
~/^.*\.gitignore$/, // Git ignore files
~/.*\.md$/ // Markdown files
]
try {