Skip to content

[JENKINS-71294] Cannot relativize 'target/site' relatively to '/home/jenkins/workspace/github_job_name_PR-462 #1294

Description

@jenkins-infra-bot

ERROR: [withMaven] WARNING Exception executing Maven reporter 'SpotBugs Publisher' / org.jenkinsci.plugins.pipeline.maven.publishers.SpotBugsAnalysisPublisher. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org21:41:11 java.lang.IllegalArgumentException: Cannot relativize 'target/site' relatively to '/home/jenkins/workspace/github_job_name_PR-462'

 
462'21:41:11 at org.jenkinsci.plugins.pipeline.maven.util.XmlUtils.getPathInWorkspace(XmlUtils.java:368)21:41:11 at org.jenkinsci.plugins.pipeline.maven.publishers.SpotBugsAnalysisPublisher.process(SpotBugsAnalysisPublisher.java:224)21:41:11 at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:155)21:41:11 at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2$WithMavenStepExecutionCallBack.finished(WithMavenStepExecution2.java:1107)21:41:11 at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution$TailCall.lambda$onSuccess$0(GeneralNonBlockingStepExecution.java:140)21:41:11 at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77)21:41:11 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)21:41:11 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)21:41:11 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)21:41:11 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)21:41:11 at java.base/java.lang.Thread.run(Thread.java:829)21:41:11 [withMaven] Jenkins Task Scanner Plugin not found, don't display results of source code scanning for 'TODO' and 'FIXME' in pipeline screen.21:41:11 [withMaven] Publishers: Pipeline Graph Publisher: 8 ms, Junit Publisher: 646 ms, Dependencies Fingerprint Publisher: 32 ms, JGiven Publisher: 1 ms, Open Task Scanner Publisher: 1 ms
org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: b024877a-db77-4984-bf1b-a72a26b21cc3 org.jenkinsci.plugins.pipeline.maven.MavenPipelineException: 1 exceptions occured within the publishers of the withMaven pipeline step: - SpotBugs Publisher faced exception while : Cannot relativize 'target/site' relatively to '/home/jenkins/workspace/github_job_name_PR-462

We are using docker slave here.


Originally reported by raj_chinni, imported from: Cannot relativize 'target/site' relatively to '/home/jenkins/workspace/github_job_name_PR-462
  • assignee: bguerin
  • status: Open
  • priority: Major
  • component(s): pipeline-maven-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251211-223321
Raw content of original issue

ERROR: [withMaven] WARNING Exception executing Maven reporter 'SpotBugs Publisher' / org.jenkinsci.plugins.pipeline.maven.publishers.SpotBugsAnalysisPublisher. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org21:41:11 java.lang.IllegalArgumentException: Cannot relativize 'target/site' relatively to '/home/jenkins/workspace/github_job_name_PR-462'

  462'21:41:11 at org.jenkinsci.plugins.pipeline.maven.util.XmlUtils.getPathInWorkspace(XmlUtils.java:368)21:41:11 at org.jenkinsci.plugins.pipeline.maven.publishers.SpotBugsAnalysisPublisher.process(SpotBugsAnalysisPublisher.java:224)21:41:11 at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:155)21:41:11 at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2$WithMavenStepExecutionCallBack.finished(WithMavenStepExecution2.java:1107)21:41:11 at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution$TailCall.lambda$onSuccess$0(GeneralNonBlockingStepExecution.java:140)21:41:11 at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77)21:41:11 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)21:41:11 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)21:41:11 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)21:41:11 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)21:41:11 at java.base/java.lang.Thread.run(Thread.java:829)21:41:11 [withMaven] Jenkins Task Scanner Plugin not found, don't display results of source code scanning for 'TODO' and 'FIXME' in pipeline screen.21:41:11 [withMaven] Publishers: Pipeline Graph Publisher: 8 ms, Junit Publisher: 646 ms, Dependencies Fingerprint Publisher: 32 ms, JGiven Publisher: 1 ms, Open Task Scanner Publisher: 1 ms org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: b024877a-db77-4984-bf1b-a72a26b21cc3 org.jenkinsci.plugins.pipeline.maven.MavenPipelineException: 1 exceptions occured within the publishers of the withMaven pipeline step: - SpotBugs Publisher faced exception while : Cannot relativize 'target/site' relatively to '/home/jenkins/workspace/github_job_name_PR-462

We are using docker slave here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions