Skip to main content

Adding Custom Code

Add custom Python code to enhance your pipelines.


About This Task

You can add custom Python code to your pipelines using one of these approaches:

  • With a Code component: Choose this method to add code to a single pipeline. Your code won't be shared with other pipelines.
  • With a custom component: Choose this method to add code that you can share with your organization and reuse in multiple pipelines. This is also a good choice if you want your code to be versioned and tested with CI/CD.