Service Virtualization

 View Only
  • 1.  Error while deploying mar from Jenkins

    Posted May 03, 2018 09:50 AM



    I am using Rest Invoke API to deploy mar to DevTest VSE using Jenkins. Mar is placed in the stash repository.


    + curl  -u [DevTestUserName]:[Password]-F fileURI=https://HOST/basePath/filename.mar http://HOST:1505/api/Dcm/VSEs/VSE/actions/deployMar


    I am getting this error:

     Error xmlns:xsi="" xsi:schemaLocation=" Error.xsd" type="application/" xmlns=""><Id>1003</Id><Message>Not upported file protocol:https</Message><AdditionalInformation>
    com.itko.lisa.invoke.api.exception.BadRequestException: Not upported file protocol:https
    at com.itko.lisa.invoke.ParamterUtils.getInputStream(
    at com.itko.lisa.invoke.resource.VseResource.deployService(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)...<truncated>


    Is there anyway I can use pick a mar from GIT and deploy it via Jenkins


    Appreciate you response.

  • 2.  Re: Error while deploying mar from Jenkins

    Posted May 07, 2018 07:15 AM

    @sdetweil2  Could you help me with this?

  • 3.  Re: Error while deploying mar from Jenkins
    Best Answer

    Posted May 08, 2018 04:24 AM

    Below command worked


    + curl  -u [DevTestUserName]:[Password]-F "file=@filename.mar" http://HOST:1505/api/Dcm/VSEs/VSE/actions/deployMar