Git release breaks when no tag and no deployment specified

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: artifactory-plugin
    • None
    • Environment:
      Using git

      Reproduction:

      • Check the option to use artifactory for releases
      • Don't set the option to deploy to artifactory
      • Do a release, but don't have the plugin create a tag, use a branch

      Result NullpointerException during build. At line 89 in https://github.com/jenkinsci/artifactory-plugin/blob/master/src/main/java/org/jfrog/hudson/release/scm/git/GitCoordinator.java the tagComment will be null and because deployment is turned off, the default is also null.

      Workaround for this issue is therefore to always use a tag for releasing.

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

              Created:
              Updated: