Last updated: 2021-06-09

Source: https://support.freshservice.com/support/solutions/articles/50000003587-sample-use-case-for-triggering-a-jenkins-job-as-part-of-the-release-management-process

Here’s a sample workflow to demonstrate the use of the Orchestration app to trigger a Jenkins job.

1. Create the Event when a Release is created. 2. You can then pull in the App Node which will have the following configurations:

App Name: Jenkins - Orch

App Action: Build

Notes when Configuring Inputs:

  • Create Orchestration Server: Choose the correct server which is within reach of Jenkins
  • Job: Relative path of the Jenkins job. Example: http://localhost:8081/job/freshservice-job where /job/freshservice-job will be the input value.
  • 3. Finally, to validate the build triggered successfully, the condition node is added to check if the status code is 200.