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

Not Seeing Script Synced into Micro Focus Performance Center with Micro Focus Plugin Used

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None

      I followed instructions here https://admhelp.microfocus.com/pc/en/2020/online_help/Content/PC/Sync_PC_with_Git.htm

       

      I pushed a script to GitLab from VuGen, and can view it in GitLab

       

      I then configured Jenkins job with plugin according to instructions

      My Jenkins Job is Showing As Successful (See attached ConsoleOutput "Jenkins_Console_jan28.txt"), but the script from GitLab is not showing up in Performance Center. I will attach the performance center server logs (see LTLogger file).

       

      I ran the job a few times, and am attaching the logs. The job ran approximately at (on the server's time) 22:05, 22:33.

       

       

      Jenkins_Console_jan28.txt

      LTLogger_01282020 (1).zip

        1. Git-PC Plugin.7z.001
          9.00 MB
        2. Git-PC Plugin.7z.002
          9.00 MB
        3. Git-PC Plugin.7z.003
          9.00 MB
        4. Git-PC Plugin.7z.004
          6.44 MB
        5. image-2020-01-29-14-41-35-104.png
          image-2020-01-29-14-41-35-104.png
          74 kB
        6. image-2020-01-29-14-43-10-540.png
          image-2020-01-29-14-43-10-540.png
          4 kB
        7. image-2020-01-29-14-46-52-444.png
          image-2020-01-29-14-46-52-444.png
          68 kB
        8. image-2020-03-11-15-53-48-589.png
          image-2020-03-11-15-53-48-589.png
          51 kB
        9. image-2020-03-11-15-55-58-904.png
          image-2020-03-11-15-55-58-904.png
          33 kB
        10. Jenkins_Console_jan28.txt
          4 kB
        11. LTLogger_01282020 (1).zip
          332 kB

          [JENKINS-60909] Not Seeing Script Synced into Micro Focus Performance Center with Micro Focus Plugin Used

          Daniel Danan added a comment -

          Hi Chris,

          I would recommend the following:

          -In your git repository, create a folder named scripts.

          -Within it, create a folder for each of your scripts named after the name of the script (generally, when you design a script from VuGen, it will create a folder named after the script and place all files required for this script within it).

          Once you have this structure established in your git repository, you can then use the Jenkins job to checkout this git repository into the workspace of the job (you can use different dedicated plugins for that, depending whether you are using github or gitlab) and then Performance Center plugin build step will be summoned to review the structure of git repository that was checkout in the workspace, detect the scripts and upload them to a project.

          If you are familiar with WebEx recording format, you could review a small session i made to explain this plugin and its usage. Just be aware that the "Subject" parameter is still required in latest version but not taken in consideration (the structure defined in Git repository will be created in PC12.6x). Please make sure that you are using PC12.6x with this plugin.

          regards,
          Daniel

           

           

          Daniel Danan added a comment - Hi Chris, I would recommend the following: -In your git repository, create a folder named scripts. -Within it, create a folder for each of your scripts named after the name of the script (generally, when you design a script from VuGen, it will create a folder named after the script and place all files required for this script within it). Once you have this structure established in your git repository, you can then use the Jenkins job to checkout this git repository into the workspace of the job (you can use different dedicated plugins for that, depending whether you are using github or gitlab) and then Performance Center plugin build step will be summoned to review the structure of git repository that was checkout in the workspace, detect the scripts and upload them to a project. If you are familiar with WebEx recording format, you could review a small session i made to explain this plugin and its usage. Just be aware that the "Subject" parameter is still required in latest version but not taken in consideration (the structure defined in Git repository will be created in PC12.6x). Please make sure that you are using PC12.6x with this plugin. regards, Daniel    

          Daniel Danan added a comment -

          If you are interested by the demo (WebEx format), download all Git-PC Plugin.7z files and use 7zip application to decompress them.

          Daniel Danan added a comment - If you are interested by the demo (WebEx format), download all Git-PC Plugin.7z files and use 7zip application to decompress them.

          Chris Simon added a comment - - edited

          Hi Daniel,

           

          I had it working in one environment, but I had to change the environment, and now I am seeing a General Exception: null. Same settings as before, same LRE instance. Any thoughts on what environment changes could cause this exception, or what I should be looking for?

           

          Chris Simon added a comment - - edited Hi Daniel,   I had it working in one environment, but I had to change the environment, and now I am seeing a General Exception: null. Same settings as before, same LRE instance. Any thoughts on what environment changes could cause this exception, or what I should be looking for?  

            danieldanan Daniel Danan
            chrisvz Chris Simon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: