Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't seem to work with pipeline-maven-plugin archiver #24

Closed
jonesbusy opened this issue Apr 2, 2024 · 0 comments · Fixed by #25
Closed

Plugin doesn't seem to work with pipeline-maven-plugin archiver #24

jonesbusy opened this issue Apr 2, 2024 · 0 comments · Fixed by #25
Assignees
Labels
bug For changelog: Minor bug. Will be listed after features

Comments

@jonesbusy
Copy link
Contributor

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

All

Reproduction steps

withMaven(options: [artifactsPublisher(disabled: false)]) {

}

Expected Results

maven artifact are archived correctly

Actual Results

[10:22:17.036+02:00] - [withMaven] artifactsPublisher - Archive artifact mvn/pom.xml under ****.pom
[10:22:24.174+02:00] - ERROR: [withMaven] WARNING Exception executing Maven reporter 'Generated Artifacts Publisher' / org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org/ 
[10:22:24.174+02:00] - java.io.IOException: Exception archiving {****.pom=mvn/pom.xml}
[10:22:24.174+02:00] - 	at org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher.process(GeneratedArtifactsPublisher.java:145)
[10:22:24.174+02:00] - 	at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:172)
[10:22:24.174+02:00] - 	at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2$WithMavenStepExecutionCallBack.finished(WithMavenStepExecution2.java:1345)
[10:22:24.174+02:00] - 	at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution$TailCall.lambda$onSuccess$0(GeneralNonBlockingStepExecution.java:140)
[10:22:24.174+02:00] - 	at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77)
[10:22:24.174+02:00] - 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[10:22:24.174+02:00] - 	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
[10:22:24.174+02:00] - 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[10:22:24.174+02:00] - 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[10:22:24.174+02:00] - 	at java.base/java.lang.Thread.run(Unknown Source)
[10:22:24.174+02:00] - Caused by: hudson.remoting.ProxyException: Assertion failed: 
[10:22:24.175+02:00] - 
[10:22:24.175+02:00] - assert content.isFile()

Anything else?

No response

Are you interested in contributing a fix?

Sure

@jonesbusy jonesbusy added the bug For changelog: Minor bug. Will be listed after features label Apr 2, 2024
@jonesbusy jonesbusy self-assigned this Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For changelog: Minor bug. Will be listed after features
Projects
None yet
1 participant