Add additional artifacts generated by the tests

Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
pull/1/head
Taylor Smock 2019-10-02 08:46:00 -06:00
rodzic 1e7e2bf0d6
commit 3c3e44a96f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 625F6A74A3E4311A
2 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -119,13 +119,15 @@ build with java 13:
- assemble with java 13 - assemble with java 13
allow_failure: true allow_failure: true
junit tests: tests:
stage: test stage: test
script: script:
- ./gradlew check test jacocoTestReport - ./gradlew check test jacocoTestReport
artifacts: artifacts:
reports: reports:
junit: build/test-results/test/TEST-*.xml junit: build/test-results/test/TEST-*.xml
codequality: build/reports/pmd/main.xml
sast: build/reports/spotbugs/main.html
allow_failure: true allow_failure: true
################ ################

Wyświetl plik

@ -38,11 +38,11 @@ def versions = [
awaitility: "4.0.1", awaitility: "4.0.1",
errorprone: "2.3.3", errorprone: "2.3.3",
jacoco: "0.8.2", jacoco: "0.8.2",
jmockit: "1.46",
junit: "5.5.2", junit: "5.5.2",
pmd: "6.6.0", pmd: "6.6.0",
spotbugs: "3.1.12", spotbugs: "3.1.12",
wiremock: "2.24.1", wiremock: "2.24.1",
jmockit: "1.46",
] ]
repositories { repositories {
@ -63,7 +63,6 @@ dependencies {
testImplementation("org.openstreetmap.josm:josm-unittest:"){changing=true} testImplementation("org.openstreetmap.josm:josm-unittest:"){changing=true}
testImplementation("com.github.tomakehurst:wiremock:${versions.wiremock}") testImplementation("com.github.tomakehurst:wiremock:${versions.wiremock}")
testImplementation("org.awaitility:awaitility:${versions.awaitility}") testImplementation("org.awaitility:awaitility:${versions.awaitility}")
testCompile("org.jmockit:jmockit:${versions.jmockit}")
} }
// Add dependencies from ivy.xml // Add dependencies from ivy.xml
@ -129,6 +128,7 @@ check.dependsOn jacocoTestReport
pmd { pmd {
toolVersion = versions.pmd toolVersion = versions.pmd
ignoreFailures true ignoreFailures true
incrementalAnalysis = true
ruleSets = [] ruleSets = []
ruleSetConfig = resources.text.fromFile("$projectDir/config/pmd/ruleset.xml") ruleSetConfig = resources.text.fromFile("$projectDir/config/pmd/ruleset.xml")
sourceSets = [sourceSets.main] sourceSets = [sourceSets.main]