Skip to main content Skip to complementary content

Creating the Jenkins pipeline

How to automatically create the build pipeline on the Jenkins server following the configuration defined in an XML file.

Before you begin

Procedure

  1. Open a command prompt window, browse to the folder where the jenkins_pipeline_simple.xml is located and execute the following Curl command to automatically create your pipeline:
    curl --location -g --request POST --header "Content-Type: application/xml" --data-binary @jenkins_pipeline_simple.xml -u <jenkins_username>:<jenkins_token> <jenkins_url>/createItem?name=TalendSimplePipeline
    Information noteNote: Make sure you replace the <jenkins_username>, <jenkins_token> and <jenkins_url> with the values corresponding to your environment (username and API token needed to authenticate to Jenkins, and Jenkins server URL).
  2. Click OK to confirm the pipeline creation.

Results

The new pipeline named TalendSimplePipeline is displayed on your Jenkins dashboard.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!