Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12887

Redeploy Artifacts fails if Maven Project Configuration->Local Maven Repository is set to "Local to the Executor"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • maven-plugin
    • 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.

            Unassigned Unassigned
            jmaxwell Jeff Maxwell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: