# Edit a Pipeline

Follow the steps below to edit the pipeline you created:

To do this,

1. From the ISD application dashboard, Click "**Continuous Delivery**" --> Click "**Spinnaker**".  This will take you to the Spinnaker instance you have configured with ISD. The first thing you will see is a recent view of all of your applications and Click your "**Application Name"** as shown in the image below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fa4WojZeffrSbN59fkxpp%2Fimage.png?alt=media\&token=12a8dc22-1e4e-41fb-a084-92843c6cd935)

2\.  Click "**Pipelines"** tab and "**Select the pipeline"** which you want to edit the pipeline and then Click "**Configure"** as shown below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FG6T9QpJxAMyRBtEdhPsb%2Fimage.png?alt=media\&token=9325f84d-1d26-43d6-9954-6f7818cf4a8a)

3\. Below screen will appear and you can make the necessary changes.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fe7ogtNeAQUeh3edT6OkC%2Fimage.png?alt=media\&token=f260755e-ce69-4855-b55a-0d532b884736)

### **Editing Pipeline as JSON**

Whatever changes you make in a pipeline from the Spinnaker UI get converted to JSON. Hence, when you want to edit a pipeline you can do so through the Spinnaker UI, or you can edit the JSON of the pipeline to make changes to the pipeline. Follow the steps belo&#x77;**.**

1. Click "**Pipelines"** tab and "**Select the application"** for which you want to edit the pipeline and then Click "**Configure"** to modify a pipeline as shown below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FG6T9QpJxAMyRBtEdhPsb%2Fimage.png?alt=media\&token=9325f84d-1d26-43d6-9954-6f7818cf4a8a)

2\.  Click the **"Pipeline Actions"** drop-down and select "**Edit as JSON"** as shown below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fg8uG7ublbPUb7l3dsgl3%2Fimage.png?alt=media\&token=59f941a6-290b-4433-9336-6b1d7f70e8c0)

3\.  You can edit the JSON of the pipeline to make changes to the pipeline and click "**Update Pipeline**" as shown in the below image.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FB2UlrUCC8X9Go348RsBI%2Fimage.png?alt=media\&token=e5bcf3af-2db9-4d14-99a0-9f65eb04a612)

### **Viewing and Restoring Pipeline Versions**

Whenever you make a change and save the pipeline, a new version is created and added to the version history. You can view the version history and if necessary, restore an older version.

{% hint style="info" %}
Note: Version history is not supported in Minio or Redis storage devices.
{% endhint %}

Follow the steps below to view and restore the versions:

1. Click "**Pipelines"** tab and "**Select the application"** for which you want to edit the pipeline and then Click "**Configure"** to modify a pipeline as shown below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FG6T9QpJxAMyRBtEdhPsb%2Fimage.png?alt=media\&token=9325f84d-1d26-43d6-9954-6f7818cf4a8a)

2\.  Click the "**Pipeline Actions"** from drop-down and select "**View Revision History".**          &#x20;

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FRjIJHUKDW44jcGQCJKkM%2Fimage.png?alt=media\&token=35ef4ab3-1f1c-4643-a5af-f1f7f70c559b)

3\.  A window appears, displaying the current version's JSON representation. Click the **Revision** from drop-down to see the older versions as shown below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FRrVy1UvibwNOoMFp45ah%2Fimage.png?alt=media\&token=a6e5f1c1-b1bb-465b-9654-86f562e304d2)

4\.  If you want to compare to any version, select the **compare to** from drop-down menu as shown below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FCG4n1qH4kyFmMbNhxWUU%2Fimage.png?alt=media\&token=19e946d3-2f05-4ae1-9e84-b012d2bde153)

5\.  A button appears after you select a version from the **Revision** drop-down menu. Click the **Restore this version** button to restore that particular version as shown below.

![](https://lh4.googleusercontent.com/eW62ePZF5gRKq6xwBClMsL-19KG6VLbAL7EgB3cQNJ696RMbfiH9PoNFc0-U4q8-LfgoJBP711ke6seBtTMx5M2Iymj0JmOeDue8HhFBAJPe9klwmbIDuhXdGK44_NxyMmLkyrFt)

## Instruction Video&#x20;

Here's a short video that provides quick step-by-step instructions to edit a pipeline:

{% embed url="<https://www.youtube.com/watch?v=RdDC3PoPcKw>" %}
