Mercurial > public > develkit
view metrics50.gradle @ 291:7dc9624e59f7
Always apply artifactory40 ssdt config. Skip functionality if the build is non bamboo
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Mon, 22 Aug 2022 14:32:18 -0400 |
parents | 2f6d25a71778 |
children | de8c350c511a |
line wrap: on
line source
buildscript { repositories { maven { url 'https://docker.ssdt.io/artifactory/gradle-plugins' } maven { url 'https://docker.ssdt.io/artifactory/ssdt-repo' } } dependencies { classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6" } } apply plugin: org.sonarqube.gradle.SonarQubePlugin sonarqube { properties { property "sonar.host.url", "http://sonar.ssdt.io:9000" property "sonar.login", System.getenv('bamboo_SONAR_TOKEN') property "sonar.exclusions","**/ProjectVersion*" } } allprojects { afterEvaluate { project -> project.getTasksByName('sonarqube',false).each { it.enabled = gradle.branchStream in ['release'] } } }