I have two project1 and project2 hosted on jenkins and azure devops respectively.
- Jenkins => project1
- Azure Deveops =>project2
My requirement is when user trigger project1 build from jenkins manually once project1 build succeed at the same time automatically trigger project2 build which is hosted on azure.
So that end user can test both projects on there environments.
Based on your description, you may consider using WebHook to trigger the pipeline in Azure DevOps.
Add a command like below to post WebHook payload from your Project 1 in Jenkins to the URL;
Create an incoming WebHook service connection like below;
Add a WebHook resource into the YAML pipeline;
Once the request is sent, the WebHook service connection will listen the incoming request and trigger the pipeline in DevOps.