Final push of new development (SNAPSHOT) version is not done when deployment to artifactory is not checked.

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: artifactory-plugin
    • None
    • Environment:
      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

            Assignee:
            Eyal Ben Moshe
            Reporter:
            Martin van Dijken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: