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

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

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

          [JENKINS-22882] Final push of new development (SNAPSHOT) version is not done when deployment to artifactory is not checked.

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

              Created:
              Updated: