diff --git a/first-class-pipeline/src/com/freeleaps/devops/ChangedComponentsDetector.groovy b/first-class-pipeline/src/com/freeleaps/devops/ChangedComponentsDetector.groovy index 33db6920..aa7dff2a 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/ChangedComponentsDetector.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/ChangedComponentsDetector.groovy @@ -19,7 +19,7 @@ class ChangedComponentsDetector { changedFiles.each { file -> components.each { component -> - if (file.startsWith("${component.name}/")) { + if (file.startsWith("${component.root}/")) { changedComponents.add(component.name) } } diff --git a/first-class-pipeline/tests/Jenkinsfile b/first-class-pipeline/tests/Jenkinsfile index d6941608..e4d398f1 100644 --- a/first-class-pipeline/tests/Jenkinsfile +++ b/first-class-pipeline/tests/Jenkinsfile @@ -7,7 +7,7 @@ executeFreeleapsPipeline { serviceGitRepo = "https://freeleaps@dev.azure.com/freeleaps/magicleaps/_git/magicleaps" serviceGitRepoType = 'monorepo' // monorepo, separated executeMode = 'on-demand' // on-demand, fully - commitMessageLintEnabled = true + commitMessageLintEnabled = false components = [ { name = 'frontend' diff --git a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy index 4bc5df68..13543cb2 100644 --- a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy +++ b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy @@ -20,6 +20,7 @@ def call(Closure closure) { options { buildDiscarder(logRotator(numToKeepStr: '25')) timeout(time: 30, unit: 'MINUTES') + parallelsAlwaysFailFast() } stages {