# Conversion Of external pipelines to Tekton Pipelines

There are two ways in which you can Convert an external pipeline :\
\
**By Linking an External Pipeline Integration:**

Refer to this documentation on how to link an external pipeline and the supported integrations

Once you have synced all your pipelines, click on convert, for the pipeline you need to be converted\
\
a) By converting an existing pipeline synced through an Integration ( for *Azure DevOps pipelines, Jenkins pipelines*)

<figure><img src="/files/AXJcGKZ6Nc4km4ZBALgm" alt=""><figcaption></figcaption></figure>

b) By converting an existing pipeline synced through an Integration for (*GitLab pipelines) and pipelined linked to your repository*\
to convert a pipeline that is linked to your GitLab repos repository you need to sync the repositories that contain your pipeline by creating a repository Integration, you can click **Add a new integration** link shown in the dialogue box (to know how to create a repository integration

<figure><img src="/files/eUcGycm6tTwoQFnMNExx" alt=""><figcaption></figcaption></figure>

Once you have the repository your pipeline resides in, click on **Import**, here it will show you the folders in your repository amongst which you can choose the file that has your pipeline and click on **Continue** and follow step 2

<figure><img src="/files/htuqTuZzE8R6puPiBjF1" alt=""><figcaption></figcaption></figure>

c) By importing a standalone pipeline without integration with ozone click import on the top right

<figure><img src="/files/8WOARHDvCQyfzjkiLbdv" alt=""><figcaption></figcaption></figure>

On this page choose the type of pipeline paste your code into the editor below and then click on convert

<figure><img src="/files/MqqoLw2fI4wk7bagSUd6" alt=""><figcaption></figcaption></figure>

2. Once you click on convert, you will be able to see the converted pipeline below like this, if you are not satisfied or want changes you can use the chat box below for further modifications

<figure><img src="/files/Rr5ukNgbUYYNeqxEA0N9" alt=""><figcaption></figcaption></figure>

3. To view the original pipeline you can click the toggle switch

<figure><img src="/files/iyuVA8Dln2mMG8euFFLM" alt=""><figcaption></figcaption></figure>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ozone.one/ozone-end-user-guide/documentation/ci-cd/catalog/external-pipelines/conversion-of-external-pipelines-to-tekton-pipelines.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
