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

Accurev pop command isnt executed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • accurev-plugin
    • None
    • Windows Server 2012 R2
      AccuRev 6.2.0
      Jenkins 2.46.1
      AccuRev Plugin 0.7.12

      After upgrading to AccuRev Plugin 0.7.12, the accurev pop is not being executed resulting in an empty Workspace. 

      Our setup is to poll the Accurev for SCM changes every 5 minutes. The poll is successfully finding the changes, unfortunately the subsequent build does not execute the Accurev pop commands

      We do not use Workspaces or reference trees. Nor do we create a snapshot at build time. Refer attached.

      Rolling back to AccuRev Plugin 0.7.11 fixes the issue. Also, manually removing the new AccurevLastTrans.txt file results in the pop command executing, but the issue recurs due to the file being recreated.

      Stream Structure is

       

      Depot
        |-Depot_Stream_1
            |- Depot_Stream_2 (Stream build occurs against)
      

       

      Console log is as follows.

       

       {{ [WS-CLEANUP] Deleting project workspace... }}
       {{ [WS-CLEANUP] Done }}
       {{ [job_example] $ accurev info -H accurev:5050 }}
       {{ Currently authenticated with Accurev server as 'User', not logging in again. }}
       {{ Getting a list of streams... }}
       {{ [job_example] $ accurev show -H accurev:5050 -fx -p Depot -s Depot_Stream_2 streams }}
       {{ [job_example] $ accurev show -H accurev:5050 -fx -p Depot -s Depot_Stream_1 streams }}
       {{ [job_example] $ accurev show -H accurev:5050 -fx -p Depot -s Depot streams }}
       {{ [job_example] $ accurev hist -H accurev:5050 -fx -p Depot -s Depot_Stream_2 -t now-906712 }}
       {{ [job_example] $ accurev hist -H accurev:5050 -fx -p Depot -s Depot_Stream_2 -t now.1 }}
       {{ [job_example] $ accurev hist -H accurev:5050 -fx -p Depot -s Depot_Stream_1 -t now.1 }}
       {{ [job_example] $ accurev hist -H accurev:5050 -fx -p Depot -s Depot -t now.1 }}
       {{ Latest Transaction ID: 906711 }}
       {{ Latest transaction Date: 2017/04/10 11:18:29 }}
       {{ Calculating changelog... }}
       {{ [job_example] $ accurev getconfig -H accurev:5050 -s -r settings.xml }}
       {{ Setting AC_SYNC to "IGNORE" }}
       {{ [job_example] $ accurev hist -H accurev:5050 -fx -a -s Depot_Stream_2 -t "2017/04/10 11:28:56-2017/04/10 11:22:30"}}
       {{ Changelog calculated successfully. }}
       {{ [job_example] $ accurev hist -H accurev:5050 -fx -a -s Depot_Stream_1 -t "2017/04/10 11:28:56-2017/04/10 11:22:30"}}
       {{ Changelog calculated successfully. }}
       {{ [job_example] $ accurev hist -H accurev:5050 -fx -a -s Depot -t "2017/04/10 11:28:56-2017/04/10 11:22:30" }}
       {{ Changelog calculated successfully. }}
       {{ Checkout done   }}

       

        1. Accurev Config [Jenkins].png
          42 kB
          Mark Grills
        2. screenshot-1.png
          48 kB
          Joseph Petersen (old)

            jetersen Joseph Petersen
            grillba Mark Grills
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: