Service Virtualization

Expand all | Collapse all

Unable to undeploy the Virtual Services using Jenkins

  • 1.  Unable to undeploy the Virtual Services using Jenkins

    Posted 12-11-2018 01:19 PM

    Hi all,

     

    I am using Jenkins Plugin to deploy/undeploy the virtual services.

     

    The deployment is working fine but for some reasons undeployment is not working for the same MAR file.

    I have used the same MAR file and the path for both undeployment and deployment.

     

    Please see the error exception below:

     

    Undeploying of the virtual service projects/cmp/VServices/Models/AT02/VS_TEST_V1.0.mar failed! [Pipeline] } 

    ERROR: Status code is 404 Response body from DevTest is: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><Error xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ca.com/lisa/invoke/v2.0 Error.xsd" type="application/vnd.ca.lisaInvoke.error+xml" xmlns="http://www.ca.com/lisa/invoke/v2.0"><Id>1006</Id>

     

    Thanks for your help.

     

    Regards,

    Satish



  • 2.  Re: Unable to undeploy the Virtual Services using Jenkins

    Posted 12-11-2018 01:53 PM

    Are you seeing this issue in DevTest version 10.3?  Could you please send us the entire stack trace. 



  • 3.  Re: Unable to undeploy the Virtual Services using Jenkins

    Posted 12-11-2018 02:14 PM

    Can you show us how you are setting up the undeployed action/step? It should only take two parameters, the name of the VSE and the names of one or more Virtual Services that you're trying to undeploy. You should not try to pass in a MAR file for this undeploy step/action.



  • 4.  Re: Unable to undeploy the Virtual Services using Jenkins

    Posted 12-12-2018 03:43 AM

    Thank you, William.

     

    I am able to undeploy the marks after providing the VSE names.

    Earlier I was passing the MAR files instead of VSE names.

     

    Is there any way to undeploy the Virtual Services in bulk instead of giving VSE names separated by commas?

    I have a requirement like undeploy all the past virtual services from the VSE before start deploying the new services.

     

    Regards,

    Satish