-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Using git
When using git as SCM and not specifying to use artifactory for deployment, the release plugin throws a NullPointerException and the release is not finished correctly.
Reproduction:
- Use git as SCM
- Check to use Artifactory plugin for releases
- Don't check to Deploy to Artifactory
- Do a release
At https://github.com/jenkinsci/artifactory-plugin/blob/master/src/main/java/org/jfrog/hudson/release/maven/MavenReleaseWrapper.java#L296 a NullPointerException is thrown, which results in the buildCompleted step never being called. The push of the new SHAPSHOT version to origin is therefore never done.
Workaround: configure the plugin to deploy to artifactory