Updated on 2023-11-28 GMT+08:00

Jenkins Tasks

Background

CodeArts Pipeline supports calling the Jenkins tasks provided by third-party services to extend your experience.

Method

  1. On the CodeArts Pipeline homepage, search for the target pipeline, click in the Operation column and select Edit. On the Task Orchestration page displayed, add JenkinsTask.

  2. Set task parameters as required.

    Parameter

    Description

    Jenkins Endpoint

    Jenkins endpoint to connect, which can be configured in service endpoints. If none is available, create one.

    JobName

    Name of the Jenkins task to call, for example, Api_Guard.

    params

    Running parameters of a Jenkins task, which are transferred through the pipeline during calling, for example, {'serviceVersion':${releaseVersion}}.

    Asynchronous

    Whether the configuration is asynchronous.

    Description

    Task description.