-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Hudson 1.346, Artifactory Plugin 1.0.6
I have a multi-module Maven2 project in Hudson that uses incremental builds. When I manually start a build, all modules are built and deployed to Artifactory without any problems.
However, when a build is started by an SCM change, only the changed modules are built. The build runs fine, but deploying to Artifactory fails:
Deploying artifacts to XXX
Deploying artifacts of module: XXX:XXX
ERROR: null
java.lang.NullPointerException
at org.jfrog.hudson.ArtifactsDeployer.deploy(ArtifactsDeployer.java:62)
at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:99)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:594)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
at hudson.model.Run.run(Run.java:1221)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)
Someone else has reported this as a comment at http://blogs.jfrog.org/2009/12/empower-hudson-with-artifactory-track.html. We had to disable incremental builds again.