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

Blank passwords break login mechanism of AccuRev plug-in

    XMLWordPrintable

Details

    Description

      As mentioned in JENKINS-39033, currently using a blank password for AccuRev will break the login mechanism of the plug-in.
      In the polling log I get messages similar to (I filtered out the name of the job):

      [SOME-PROD-SW] $ "C:\Program Files\AccuRev\bin\accurev.exe" login -H accurev:5050 CI ********
      FATAL: Failed authentication. Please re-try the 'login' command.
      FATAL: login ("C:\Program Files\AccuRev\bin\accurev.exe" login -H accurev:5050 CI ******) failed with exit code 1
      ERROR: Failed to record SCM polling for com.tikal.jenkins.plugins.multijob.MultiJobProject@1bbdea7[PRODUCTS/SOME-PROD-SW]
      java.lang.IllegalArgumentException: Authentication failure
      	at hudson.plugins.accurev.delegates.AbstractModeDelegate.setup(AbstractModeDelegate.java:64)
      	at hudson.plugins.accurev.delegates.AbstractModeDelegate.compareRemoteRevisionWith(AbstractModeDelegate.java:92)
      	at hudson.plugins.accurev.AccurevSCM.compareRemoteRevisionWith(AccurevSCM.java:450)
      	at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:391)
      	at hudson.scm.SCM.poll(SCM.java:408)
      	at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1482)
      	at hudson.model.AbstractProject._poll(AbstractProject.java:1452)
      	at hudson.model.AbstractProject.poll(AbstractProject.java:1363)
      	at com.tikal.jenkins.plugins.multijob.MultiJobProject.poll(MultiJobProject.java:95)
      	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
      	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
      	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      

      Attachments

        Activity

          Fixed in 0.7.5

          casz Joseph Petersen (old) added a comment - Fixed in 0.7.5

          People

            jetersen Joseph Petersen
            arnom Arno Moonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: