Service Virtualization

 View Only
  • 1.  Invoking Jenkins job through CA DevTest

    Posted Mar 27, 2020 05:07 PM
    In our project, we are using CVS monitor component of DevTest to monitor live service and send email notification whenever the live service goes down. Now, we would like to trigger a selenium script (smoke test) through Jenkins whenever the live service goes down. Is there a way to invoke Jenkins job through CA DevTest CVS Monitor service?

    ------------------------------
    Aravinth Nehrumohan
    ------------------------------


  • 2.  RE: Invoking Jenkins job through CA DevTest
    Best Answer

    Posted Mar 28, 2020 03:51 AM

    Hi,

     

    Jenkins has an API to start a job, and you can call that API from a REST Step inside your CVS testcase. Have you tried that?

     

    Cheers,

    Danny

     

    ::DISCLAIMER::

    The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.






  • 3.  RE: Invoking Jenkins job through CA DevTest

    Posted May 18, 2020 01:29 AM
    Hi Aravinth,

    There are couple of options for you.
    1. You can invoke jenkins via API call from the devtest (Http(s) call)
    2. You can invoke the jenkins via Curl based calls (via external command)

    Thanks


    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------