i am able to deploy both bpmn and dmn files using JENKINS via Rest Post call
but can anyone suggest after deploying how do i validate if the deployment is successful ? is there some api which helps me achieve this ?
vish
i am able to deploy both bpmn and dmn files using JENKINS via Rest Post call
but can anyone suggest after deploying how do i validate if the deployment is successful ? is there some api which helps me achieve this ?
vish
@vishucamunda, you can make an api call to camunda engine to query for the deployed processes.
https://docs.camunda.org/manual/7.13/reference/rest/deployment/get-query/
GET /deployment
or Java API:
List<Deployment> deployments = repositoryService.createDeploymentQuery()
.deploymentName("someName").list();
Assert.isTrue(deployments.stream()
.anyMatch(d -> d.getName().equals("someName"))
,"Process not deployed");