diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 79b6849..9244aff 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -21,3 +21,11 @@ jobs: run: chmod +x gradlew - name: Build with Gradle run: ./gradlew clean build + - name: Unittest Report + uses: dorny/test-reporter@v1.9.1 + with: + name: unit-tests + path: target/test-results/test/*.xml + reporter: java-junit + fail-on-empty: 'true' + fail-on-error: 'true' \ No newline at end of file diff --git a/test/groovy/src/com/puzzleitc/jenkins/QuayTest.groovy b/test/groovy/src/com/puzzleitc/jenkins/QuayTest.groovy index b3cf4dd..6a9b6af 100644 --- a/test/groovy/src/com/puzzleitc/jenkins/QuayTest.groovy +++ b/test/groovy/src/com/puzzleitc/jenkins/QuayTest.groovy @@ -38,7 +38,7 @@ class QuayTest extends BasePipelineTest { Quay myQuay = new Quay(script, 'cred') // then - assertThat(myQuay.getRegistryUrl()).isEqualTo('https://quay.ios') + assertThat(myQuay.getRegistryUrl()).isEqualTo('https://quay.io') } @Test