kopia lustrzana https://github.com/JOSM/MapWithAI
rodzic
aa51ffdf26
commit
c1de460d4c
|
@ -129,12 +129,11 @@ sonarcloud.io:
|
||||||
url: https://sonarcloud.io/dashboard?id=mapwithai%3Amapwithai
|
url: https://sonarcloud.io/dashboard?id=mapwithai%3Amapwithai
|
||||||
script:
|
script:
|
||||||
- ./gradlew -Dsonar.login=$SONAR_TOKEN sonarqube
|
- ./gradlew -Dsonar.login=$SONAR_TOKEN sonarqube
|
||||||
needs: ["assemble"]
|
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_MERGE_REQUEST_IID && $SONAR_TOKEN =~ /[0-9a-z]+/'
|
|
||||||
- if: '$CI_COMMIT_TAG && $SONAR_TOKEN =~ /[0-9a-z]+/'
|
- if: '$CI_COMMIT_TAG && $SONAR_TOKEN =~ /[0-9a-z]+/'
|
||||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $SONAR_TOKEN =~ /[0-9a-z]+/'
|
|
||||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $SONAR_TOKEN =~ /[0-9a-z]+/'
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $SONAR_TOKEN =~ /[0-9a-z]+/'
|
||||||
|
- if: '$CI_MERGE_REQUEST_IID && $SONAR_TOKEN =~ /[0-9a-z]+/'
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $SONAR_TOKEN =~ /[0-9a-z]+/'
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
|
@ -288,6 +288,6 @@ sonarqube {
|
||||||
property "sonar.host.url", "https://sonarcloud.io"
|
property "sonar.host.url", "https://sonarcloud.io"
|
||||||
property "sonar.projectDescription", properties.get("plugin.description")
|
property "sonar.projectDescription", properties.get("plugin.description")
|
||||||
property "sonar.projectVersion", project.version
|
property "sonar.projectVersion", project.version
|
||||||
property "sonar.sources", listOf("src")
|
property "sonar.sources", ["src"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue