From: Olivier Lamy Date: Mon, 11 Apr 2022 05:38:49 +0000 (+1000) Subject: fix running ITs X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=865dd8751b7b11dc4d3a022a30f650dd646006ea;p=archiva.git fix running ITs Signed-off-by: Olivier Lamy --- diff --git a/Jenkinsfile-itest b/Jenkinsfile-itest index 3edd96e27..240f3a916 100644 --- a/Jenkinsfile-itest +++ b/Jenkinsfile-itest @@ -70,6 +70,7 @@ pipeline { withMaven(maven: buildMvn, jdk: buildJdk, mavenSettingsConfig: deploySettings, mavenLocalRepo: localRepository, + publisherStrategy: 'EXPLICIT', options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true), findbugsPublisher(disabled: true), artifactsPublisher(disabled: true), invokerPublisher(disabled: true), jgivenPublisher(disabled: true), @@ -91,7 +92,7 @@ pipeline { // -Dmaven.compiler.fork=true: Compile in a separate forked process // -Pci-server: Profile for CI-Server // -Pit-js: Run the selenium test - sh "mvn clean verify -B -V -U -e -fae -Dmaven.compiler.fork=true -DmaxWaitTimeInMs=2000 -Pci-server -Pit-js -DtrimStackTrace=false -Djava.io.tmpdir=.tmp -pl :archiva-webapp-test" + sh "mvn clean verify -B -V -U -e -fae -DmaxWaitTimeInMs=2000 -Pci-server -Pit-js -DtrimStackTrace=false -Djava.io.tmpdir=.tmp -pl :archiva-webapp-test" } } @@ -116,11 +117,12 @@ pipeline { } steps { timeout(120) { - withCredentials([[$class : 'UsernamePasswordMultiBinding', credentialsId: DOCKERHUB_CREDS, + withCredentials([[$class : 'UsernamePasswordMultiBinding', credentialsId: DOCKERHUB_CREDS, usernameVariable: 'DOCKER_HUB_USER', passwordVariable: 'DOCKER_HUB_PW']]) { withMaven(maven: buildMvn, jdk: buildJdk, mavenSettingsConfig: deploySettings, mavenLocalRepo: localRepository, + publisherStrategy: 'EXPLICIT', options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true), findbugsPublisher(disabled: true), artifactsPublisher(disabled: true), invokerPublisher(disabled: true), jgivenPublisher(disabled: true), diff --git a/archiva-modules/archiva-web/archiva-webapp-test/pom.xml b/archiva-modules/archiva-web/archiva-webapp-test/pom.xml index cf471a304..342654369 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp-test/pom.xml @@ -396,7 +396,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.20 + 2.22.2 false alphabetical @@ -483,7 +483,7 @@ run - + @@ -517,7 +517,7 @@ - +