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

Cannot deploy Artifact to Artifactory !

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • maven-plugin
    • None
    • Rhel 5.5 x 64 / Java 1.6 / Mercurial SCM / Maven 2.2.1

      I "upgraded" from Hudson to Jenkins. Everything works properly except the deployment of an artifact to Artifactory.

      Output:

      Deploying artifacts to http://ikeepitsecrethere.org/artifactory/libs-snapshot-local
      ERROR: Publisher hudson.maven.RedeployPublisher aborted due to exception
      java.lang.NullPointerException
      at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:96)
      at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:149)
      at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:510)
      at hudson.maven.RedeployPublisher.createEmbedder(RedeployPublisher.java:204)
      at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:129)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:838)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:572)
      at hudson.model.Run.run(Run.java:1386)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:454)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)

            Unassigned Unassigned
            sisko ole b
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: