-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
1.450 Solaris JDK 1.6.0-21
If Maven Project Configuration->Local Maven Repository is set to "Local to the Executor"
Redeploy Artifacts fails with:
java.lang.NullPointerException
at hudson.maven.local_repo.PerExecutorLocalRepositoryLocator.locate(PerExecutorLocalRepositoryLocator.java:18)
at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106)
at hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:224)
at hudson.model.TaskThread.run(TaskThread.java:127)
It would appear that at least one non-executor associated repo would be required.
Workaround is to set Use private Maven repository->Local to workspace for the jobs one wishes to support redeploy.
[JENKINS-12887] Redeploy Artifacts fails if Maven Project Configuration->Local Maven Repository is set to "Local to the Executor"
Description |
Original:
If Maven Project Configuration->Local Maven Repository is set to "Local to the Executor" Redeploy Artifacts fails with: java.lang.NullPointerException at hudson.maven.local_repo.PerExecutorLocalRepositoryLocator.locate(PerExecutorLocalRepositoryLocator.java:18) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106) at hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:224) at hudson.model.TaskThread.run(TaskThread.java:127) |
New:
If Maven Project Configuration->Local Maven Repository is set to "Local to the Executor" Redeploy Artifacts fails with: java.lang.NullPointerException at hudson.maven.local_repo.PerExecutorLocalRepositoryLocator.locate(PerExecutorLocalRepositoryLocator.java:18) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106) at hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:224) at hudson.model.TaskThread.run(TaskThread.java:127) It would appear that at least one non-executor associated repo would be required. |
Description |
Original:
If Maven Project Configuration->Local Maven Repository is set to "Local to the Executor" Redeploy Artifacts fails with: java.lang.NullPointerException at hudson.maven.local_repo.PerExecutorLocalRepositoryLocator.locate(PerExecutorLocalRepositoryLocator.java:18) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106) at hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:224) at hudson.model.TaskThread.run(TaskThread.java:127) It would appear that at least one non-executor associated repo would be required. |
New:
If Maven Project Configuration->Local Maven Repository is set to "Local to the Executor" Redeploy Artifacts fails with: java.lang.NullPointerException at hudson.maven.local_repo.PerExecutorLocalRepositoryLocator.locate(PerExecutorLocalRepositoryLocator.java:18) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106) at hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:224) at hudson.model.TaskThread.run(TaskThread.java:127) It would appear that at least one non-executor associated repo would be required. Workaround is to set Use private Maven repository->Local to workspace for the jobs one wishes to support redeploy. |
Component/s | New: maven-plugin [ 16033 ] | |
Component/s | Original: maven2 [ 15487 ] |
Workflow | Original: JNJira [ 143347 ] | New: JNJira + In-Review [ 175880 ] |