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

M2 release plugin does not take care of CVS configuration in admin panel

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • m2release-plugin
    • None
    • Linux gentoo

      I declare the .CVSPASS location (/user/local/scripts/.cvspass) in the admin panel but m2 release plugin try to find it to a other place ([DEBUG] passFile: /home/tomcat/.cvspass)

      It will be nice if this plugin get the config from hudson config.xml

          [JENKINS-5167] M2 release plugin does not take care of CVS configuration in admin panel

          all this plugin does, is trigger maven with the correct command line arguments.
          So its not the m2release plugin looking for the .cvspass in "/home/tomcat/.cvspass" but maven. The reason for this is most probably, because this "/home/tomcat/" is the home directory of the user you'r running jenkins with.

          Dominik Bartholdi added a comment - all this plugin does, is trigger maven with the correct command line arguments. So its not the m2release plugin looking for the .cvspass in "/home/tomcat/.cvspass" but maven. The reason for this is most probably, because this "/home/tomcat/" is the home directory of the user you'r running jenkins with.

          The .cvspass file config option was for the cvs plugin and, as of version 2.0 of this plugin, is no longer available (.cvspass is unsecure and we don't want to force users to use it).

          There's also no way for us to tell Maven where the cvspass file is location - it assumes that it's in user.home by default - so even if we did read the cvsplugin configiration, we'd have no way of using the value.

          Given these issues, I'm closing this as wont fix. Consider running the 'cvs login' command under the user account you have running Tomcat/Jenkins is you still need Maven to login to CVS.

          Michael Clarke added a comment - The .cvspass file config option was for the cvs plugin and, as of version 2.0 of this plugin, is no longer available (.cvspass is unsecure and we don't want to force users to use it). There's also no way for us to tell Maven where the cvspass file is location - it assumes that it's in user.home by default - so even if we did read the cvsplugin configiration, we'd have no way of using the value. Given these issues, I'm closing this as wont fix. Consider running the 'cvs login' command under the user account you have running Tomcat/Jenkins is you still need Maven to login to CVS.

            mc1arke Michael Clarke
            fabrice31 fabrice31
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: