refactor(Jenkinsfile, executeFreeleapsPipeline): disable commit message linting and add fail-fast option for parallel execution

Signed-off-by: 孙振宇 <>
This commit is contained in:
孙振宇 2025-02-04 12:08:52 +08:00
parent 1fec9ad9d7
commit e574581d02
3 changed files with 3 additions and 2 deletions

View File

@ -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)
}
}

View File

@ -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'

View File

@ -20,6 +20,7 @@ def call(Closure closure) {
options {
buildDiscarder(logRotator(numToKeepStr: '25'))
timeout(time: 30, unit: 'MINUTES')
parallelsAlwaysFailFast()
}
stages {