Skip to content

Mock Jenkins (mock-jenkins)

Configuration

  • callMode - ASYNC, SYNC - required - How to call the Jenkins job. ASYNC (the default) means that the job is called in "fire and forget" mode. When set to SYNC, Ontrack will wait for the completion of the job to success, with a given timeout (not recommended).

  • config - String - required - Name of the Jenkins configuration to use for the connection.

  • job - String - required - URL of the Jenkins job to call

  • parameters - List - required - Parameters to send to to the job

    • name - String - required - Name of the parameter

    • value - String - required - Value of the parameter

  • timeout - Int - required - Timeout in seconds

Output

  • displayName - String - required - displayName field

  • enabled - Boolean - required - enabled field

  • type - String - required - type field