From 47885f7ecb07ff501245c95ed061152cfc53597a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 28 Oct 2020 12:07:49 +1000 Subject: [PATCH] Jetty 9.4.x h2spec-maven-plugin now check if docker is available (new version fixing issues with generated junit file) (#5497) * skip h2spec if no docker available Signed-off-by: olivier lamy * active snapshot-repositories for jenkins build Signed-off-by: olivier lamy * h2spec plugin 1.0.1 Signed-off-by: olivier lamy * new snapshot to debug jenkins Signed-off-by: olivier lamy * simplify build to ease debug Signed-off-by: olivier lamy * force snapshot download: Signed-off-by: olivier lamy * use h2spec release 1.0.2 Signed-off-by: olivier lamy * remove commented sections Signed-off-by: olivier lamy * no need of this profile Signed-off-by: olivier lamy * profile not needed anymore Signed-off-by: olivier lamy --- Jenkinsfile | 3 +- jetty-http2/http2-server/pom.xml | 60 ++++++++++++++------------------ pom.xml | 2 +- 3 files changed, 28 insertions(+), 37 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c5264f3588b..fa321ab3ad1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -128,7 +128,7 @@ def slackNotif() { * * @param jdk the jdk tool name (in jenkins) to use for this build * @param cmdline the command line in " "`format. - * @return the Jenkinsfile step representing a maven build + * @param consoleParsers array of console parsers to run */ def mavenBuild(jdk, cmdline, mvnName, consoleParsers) { script { @@ -146,7 +146,6 @@ def mavenBuild(jdk, cmdline, mvnName, consoleParsers) { finally { junit testResults: '**/target/surefire-reports/*.xml,**/target/invoker-reports/TEST*.xml' - //archiveArtifacts artifacts: '**/jetty-webapp/target/**' if(consoleParsers!=null){ warnings consoleParsers: consoleParsers } diff --git a/jetty-http2/http2-server/pom.xml b/jetty-http2/http2-server/pom.xml index 4901475c562..4dd62f2dcd0 100644 --- a/jetty-http2/http2-server/pom.xml +++ b/jetty-http2/http2-server/pom.xml @@ -15,6 +15,32 @@ 28888 + + + + org.mortbay.jetty + h2spec-maven-plugin + + org.eclipse.jetty.http2.server.H2SpecServer + ${skipTests} + org.eclipse.jetty.h2spec + true + + 3.5 - Sends invalid connection preface + + + + + h2spec + test + + h2spec + + + + + + @@ -86,39 +112,5 @@ - - run-h2spec-in-docker - - - /var/run/docker.sock - - - - - - org.mortbay.jetty - h2spec-maven-plugin - - org.eclipse.jetty.http2.server.H2SpecServer - ${skipTests} - org.eclipse.jetty.h2spec - - 3.5 - Sends invalid connection preface - - - - - h2spec - test - - h2spec - - - - - - - - diff --git a/pom.xml b/pom.xml index 222b802f265..9abe5a8127e 100644 --- a/pom.xml +++ b/pom.xml @@ -936,7 +936,7 @@ org.mortbay.jetty h2spec-maven-plugin - 1.0.0 + 1.0.2