From 7ea57df510f2133f7ef9f1c2c5efec578b0084a9 Mon Sep 17 00:00:00 2001 From: Johannes Beck Date: Fri, 8 Mar 2024 09:43:41 +0100 Subject: [PATCH] Fix remote arquillian --- Jenkinsfile | 11 +++-------- pom.xml | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d18a63f0..76295296 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,14 +31,9 @@ node { .image('registry.x1/j7beck/x1-wildfly-stomp-test-it:1.8') .withRun('-e MANAGEMENT=public -e HTTP=public --name stomp-test-it') { c -> - try { - waitFor("http://${hostIp(c)}:9990/health/ready", 20, 3) - withMaven(maven: 'Maven-3.9', mavenSettingsConfig: mavenSetting) { - sh "mvn -Parq-remote verify -Djboss.managementAddress=${hostIp(c)}" - } - } finally { - junit '**/target/surefire-reports/TEST-*.xml' - jacoco(execPattern: '**/**.exec') + waitFor("http://${hostIp(c)}:9990/health/ready", 20, 3) + withMaven(maven: 'Maven-3.9', mavenSettingsConfig: mavenSetting) { + sh "mvn -Parq-remote verify -Djboss.managementAddress=${hostIp(c)}" } } } diff --git a/pom.xml b/pom.xml index 24e2dd7a..dd8ee58e 100644 --- a/pom.xml +++ b/pom.xml @@ -838,7 +838,7 @@ org.jboss.logmanager.LogManager Arquillian - Testcontainers,Unittests + Testcontainers,Unittests