Skip to content

Commit

Permalink
ci(generated): run SonarQube on dependabot core update branches
Browse files Browse the repository at this point in the history
Generated SDK source code using:
- Generator version 3.96.0
- Specification version 1.0.0-dev0.1.20
- Automation (cloudant-sdks) version fdbe4d5
  • Loading branch information
cloudant-sdks-automation committed Oct 29, 2024
1 parent fcdf44a commit 7c1421f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,13 @@ pipeline {
environment {
scannerHome = tool 'SonarQubeScanner'
}
// Scanning runs only on non-dependabot branches
// Scanning runs on dependabot core update and non-dependabot branches
when {
not {
branch 'dependabot*'
anyOf {
branch pattern: /^dependabot.*(?i)(ibm)[\.-].+sdk-core.*$/, comparator: 'REGEXP'
not {
branch 'dependabot*'
}
}
}
steps {
Expand Down

0 comments on commit 7c1421f

Please sign in to comment.