Service Virtualization

  • 1.  Triggering Jenkin Job from CA Dev Test or CA Lisa tool

    Posted Aug 10, 2017 06:55 AM

    Hello All,

     

    I am having some test cases which will be executed by  Jenkin job. I want to execute that or trigger that Jenkin job from Lisa test case step?

     

    Is there any way or step we can perform to do achieve this?

     

    Please help and adivse.


    Thanks..

    Shivam Garg



  • 2.  Re: Triggering Jenkin Job from CA Dev Test or CA Lisa tool

    Posted Aug 10, 2017 08:19 AM

    For some ideas, check out kurva01 (Vamsi's) post here Pass Jenkins Parameters to DevTest 

    and Passing data to a test via lisa-invoke 



  • 3.  Re: Triggering Jenkin Job from CA Dev Test or CA Lisa tool

    Posted Aug 11, 2017 01:07 AM

    Thanks Joel.

     

    Hello Vamsi,

     

    My requirement is that, I am having a job in Jenkin which further is executing one test script. I want to trigger or invoke that Jenkin job from Lisa test case, means when I will run lisa test case using ITR, it will execute Jenkin job which is executing some test scripts(that is we no need to worry, it is already build).

     

    Can you tell me how I can trigger Jenkin job from test case?

     

    Hope you are understanding my question.

     

    Please advise.

     

    Thanks..

    Shivam Garg



  • 4.  Re: Triggering Jenkin Job from CA Dev Test or CA Lisa tool
    Best Answer

    Posted Aug 17, 2017 11:15 AM

    I don't know a ton about Jenkins, but according to StackOverflow you can kick off a Jenkins job via a REST api call.  So you should be able to use the rest step or a script step to call that.