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

Job not stopped after AccuRev authentication failure

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      For some reason I get Authentication failures every now and then (tried several configuration options).
      I have not yet been able to pin point what is causing this, but I have noticed that jobs do not stop their execution when AccuRev fails to authenticate.

      In my opinion, if a new version could not be retrieved from the VCS, there is no point in continuing the execution of the job and the job should be stopped.
      This is currently not the case.

      "Luckily" I use the Clean Workspace plug-in, so my build fails because the necessary files are not found, because the checkout failed.
      However, I'm pretty sure that not everyone will be in the same situation and it is silly to continue with an unknown/unwanted state.

        Attachments

          Activity

          Hide
          casz Joseph Petersen added a comment -

          Latest build with ParseGetConfig fix: https://jenkins.ci.cloudbees.com/job/plugins/job/accurev-plugin/162/org.jenkins-ci.plugins$accurev/
          I will release it asap, that you can confirm it does fix the issue

          Show
          casz Joseph Petersen added a comment - Latest build with ParseGetConfig fix: https://jenkins.ci.cloudbees.com/job/plugins/job/accurev-plugin/162/org.jenkins-ci.plugins$accurev/ I will release it asap, that you can confirm it does fix the issue
          Hide
          arnom Arno Moonen added a comment -

          Just installed it and so far it seems to work fine. If I experience any issues, I'll be sure to report them back to you.

          Show
          arnom Arno Moonen added a comment - Just installed it and so far it seems to work fine. If I experience any issues, I'll be sure to report them back to you.
          Hide
          casz Joseph Petersen added a comment - - edited

          You need to place theĀ settings.xml here

          \path to your AcStore\AcStore\site_slice\dispatch\config\settings.xml

          Show
          casz Joseph Petersen added a comment - - edited You need to place theĀ settings.xml here \path to your AcStore\AcStore\site_slice\dispatch\config\settings.xml
          Hide
          arnom Arno Moonen added a comment -

          The admin added that file and running the getconfig command locally shows me the contents similar to your example.
          How can I verify if this is used in Jenkins?

          In the console output I still see this, which makes me think that it does not work:

          [SOME-PRODUCT-SW] $ "C:\Program Files\AccuRev\bin\accurev.exe" getconfig -H accurev:5050 -s -r settings.xml
          Setting AC_SYNC to "IGNORE"
          
          Show
          arnom Arno Moonen added a comment - The admin added that file and running the getconfig command locally shows me the contents similar to your example. How can I verify if this is used in Jenkins? In the console output I still see this, which makes me think that it does not work: [SOME-PRODUCT-SW] $ "C:\Program Files\AccuRev\bin\accurev.exe" getconfig -H accurev:5050 -s -r settings.xml Setting AC_SYNC to "IGNORE"
          Hide
          casz Joseph Petersen added a comment -

          The webui URL is used in the changelog

          You can verify it on a builds latest changelog.
          http://jenkinsserver:8080/job/yourbuild/lastSuccessfulBuild/changes
          It should list the transactions in the changelog:
          Transaction 1000 by some user:
          Some comment

          the transaction number should have a URL looking like: http://accurevserver:8080/accurev/WebGui.jsp?tran_number=1000&depot=some_depot&view=trans_hist

          Hope that answers your question

          Show
          casz Joseph Petersen added a comment - The webui URL is used in the changelog You can verify it on a builds latest changelog. http://jenkinsserver:8080/job/yourbuild/lastSuccessfulBuild/changes It should list the transactions in the changelog: Transaction 1000 by some user: Some comment the transaction number should have a URL looking like: http://accurevserver:8080/accurev/WebGui.jsp?tran_number=1000&depot=some_depot&view=trans_hist Hope that answers your question

            People

            • Assignee:
              casz Joseph Petersen
              Reporter:
              arnom Arno Moonen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: