From fe97e720fe3ea759e5d1599937ff201e40aa9407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vilius=20=C5=A0umskas?= Date: Wed, 7 Sep 2022 22:54:10 +0300 Subject: [PATCH] Fix FAQ url in build step (#516) --- .../jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java | 2 +- .../plugins/pipeline/maven/WithMavenStepExecution2.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java b/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java index 69e68d264..47052a7c4 100644 --- a/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java +++ b/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/MavenSpyLogProcessor.java @@ -203,7 +203,7 @@ public void processMavenSpyLogs(@Nonnull StepContext context, @Nonnull FilePath listener.getLogger().print("[withMaven] One or multiple Maven executions have been ignored by the " + "Jenkins Pipeline Maven Plugin because they have been interrupted before completion " + "(" + mavenSpyLogsInterruptedList.length + "). See "); - listener.hyperlink("https://github.com/jenkinsci/pipeline-maven-plugin/FAQ.adoc", "Pipeline Maven Plugin FAQ"); + listener.hyperlink("https://github.com/jenkinsci/pipeline-maven-plugin/blob/master/FAQ.adoc#how-to-use-the-pipeline-maven-plugin-with-docker", "Pipeline Maven Plugin FAQ"); listener.getLogger().println(" for more details."); if (LOGGER.isLoggable(Level.FINE)) { for (FilePath mavenSpyLogsInterruptedLogs : mavenSpyLogsInterruptedList) { diff --git a/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution2.java b/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution2.java index 1fc7afca5..d283f567e 100644 --- a/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution2.java +++ b/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution2.java @@ -187,7 +187,7 @@ protected boolean doStart() throws Exception { if (withContainer) { console.trace("[withMaven] IMPORTANT \"withMaven(){...}\" step running within a Docker container. See " ); - console.traceHyperlink("https://github.com/jenkinsci/pipeline-maven-plugin/FAQ.adoc", "Pipeline Maven Plugin FAQ"); + console.traceHyperlink("https://github.com/jenkinsci/pipeline-maven-plugin/blob/master/FAQ.adoc#how-to-use-the-pipeline-maven-plugin-with-docker", "Pipeline Maven Plugin FAQ"); console.trace(" in case of problem."); }