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

Git release breaks when no tag and no deployment specified

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • artifactory-plugin
    • None
    • 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.

          [JENKINS-22881] Git release breaks when no tag and no deployment specified

          There are no comments yet on this issue.

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

              Created:
              Updated: