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

Using AccuRev account with no password causes OBF: to populate in the password field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • accurev-plugin
    • None

      Report from user's email:

      I am Angel Villalain, I decided to take the freedom to inform you directly of something I have found while using your Accurev plugin on our local hudson setup. I was configuring the server with an account that did not have a password. So I decided to left that configuration empty. And every time I was trying to schedule a build it failed. The problem looked as if it was related with the login command. So I went to the log and see the login command and executed the same login command used and it worked fine. So I started poking around the xml configuration files the plugin seems to create and found this:
      <?xml version='1.0' encoding='UTF-8'?>
      <hudson.plugins.accurev.AccurevSCM_-AccurevSCMDescriptor>
      <generation>1</generation>
      <servers>
      <hudson.plugins.accurev.AccurevSCM_-AccurevServer>
      <name>name</name>
      <host>server</host>
      <port>5050</port>
      <username>user</username>
      <password>OBF:</password>
      </hudson.plugins.accurev.AccurevSCM_-AccurevServer>
      </servers>
      </hudson.plugins.accurev.AccurevSCM_-AccurevSCMDescriptor>

      I changed the OBF: with an empty string and the login command seems to work finally.

            jetersen Joseph Petersen
            statlor Scott Tatum
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: