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

Cannot tag a promoted build with plugins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Hudson Subversion Tagging Plugin v1.13
      Hudson Subversion Plug-in v1.10
      Hudson promoted builds plugin v1.6
      Hudson ver. 1.345
      JDK 1.6.0_18 x64
      Ubuntu 9.10
    • Similar Issues:

      Description

      When the promoted build plugin attempts to tag a build, the following stacktrace occurs:

      Started by user anonymous
      Promoting test #1
      moduleLocation: Remote ->http://svn/trunk/demo
      Tag Base URL: 'http://svn/tags/demo-TEST'.
      Delete old tag http://svn/tags/demo-TEST.
      FATAL: null
      java.lang.NullPointerException
      at hudson.plugins.svn_tag.SvnTagPlugin.perform(SvnTagPlugin.java:226)
      at hudson.plugins.svn_tag.SvnTagPublisher.perform(SvnTagPublisher.java:116)
      at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:124)
      at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:103)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      at hudson.model.Run.run(Run.java:1198)
      at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:75)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          pom.xml
          src/main/java/hudson/plugins/svn_tag/SvnTagPlugin.java
          http://jenkins-ci.org/commit/svn-tag-plugin/31f2c7dafaaa2b765d16efc23b7eb4511bbb592e
          Log:
          JENKINS-5608 take advantage of new methods in 1.421 to work better with promoted-builds plugin

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: pom.xml src/main/java/hudson/plugins/svn_tag/SvnTagPlugin.java http://jenkins-ci.org/commit/svn-tag-plugin/31f2c7dafaaa2b765d16efc23b7eb4511bbb592e Log: JENKINS-5608 take advantage of new methods in 1.421 to work better with promoted-builds plugin
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          pom.xml
          src/main/java/hudson/plugins/cvs_tag/CvsTagPlugin.java
          http://jenkins-ci.org/commit/cvs-tag-plugin/11715fc0daaae9f71e95a6daf7aa71e8f576ae29
          Log:
          JENKINS-5608 made to work better with promoted buils plugin.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: pom.xml src/main/java/hudson/plugins/cvs_tag/CvsTagPlugin.java http://jenkins-ci.org/commit/cvs-tag-plugin/11715fc0daaae9f71e95a6daf7aa71e8f576ae29 Log: JENKINS-5608 made to work better with promoted buils plugin.
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Fixed and released Subversion tagging plugin 1.16 and CVS tagging plugin 1.7.

          I consider this issue resolved now.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Fixed and released Subversion tagging plugin 1.16 and CVS tagging plugin 1.7. I consider this issue resolved now.
          Hide
          joe Joe Shomphe added a comment -

          This doesnt seem to work with multiple module SVN projects

          If I check out

          http://svn/project1 AND
          http://svn/project2

          (Note: checking out to local folder names project1 and project2...not to the default dot (.) directory)

          Then run the promotion tag to tag via SVN to http://svn/tags/TEST/

          the destination tag only has the files in project2, not the expected project1 project2 folders

          Show
          joe Joe Shomphe added a comment - This doesnt seem to work with multiple module SVN projects If I check out http://svn/project1 AND http://svn/project2 (Note: checking out to local folder names project1 and project2...not to the default dot (.) directory) Then run the promotion tag to tag via SVN to http://svn/tags/TEST/ the destination tag only has the files in project2, not the expected project1 project2 folders
          Hide
          jagankalluri jagan kalluri added a comment -

          I had similar issue with MKS Integrity .

          I can not create new check Point using Promoted build actions. Is there any way to get this work for MKS integrity

          Show
          jagankalluri jagan kalluri added a comment - I had similar issue with MKS Integrity . I can not create new check Point using Promoted build actions. Is there any way to get this work for MKS integrity

            People

            • Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              jshomphe jshomphe
            • Votes:
              11 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: