Jatin Dave
Jatin Dave

Reputation: 852

Move Build and Release Pipeline from one organization to another

We have been working in one organization and now we are migrating all from one organization to another. Can anyone suggest me How Can I Migrate my Build and Release Pipelines from one organization to another?

Upvotes: 4

Views: 2610

Answers (3)

Jatin Dave
Jatin Dave

Reputation: 852

As a work-around I found this. You can't directly import exported configuration file, You need to change lot configurations as you have change organization, which takes time. It is easier to replicate steps to create Build and Release pipelines in New Organization.

Upvotes: 0

LoLance
LoLance

Reputation: 28086

Move Build and Release Pipeline from one organization to another.

We can easily move the classic Build/Release pipelines into new Org with the Export and Import pipeline options, as Abhujit answered above.

However, we still need to modify/fix many configurations to make the newly imported pipelines work. We can't access the Private Agent Pool, Source within old Organization, so we have to do more jobs to fix them.

So if someone only needs to reuse the tasks/steps, it's easier to replicate steps to create new Build and Release pipelines instead of importing the pipelines from another org.

PS: Also, using Yaml pipelines+templates in both orgs is also a good choice for reusing tasks.

Upvotes: 0

Abhijit Jana
Abhijit Jana

Reputation: 970

You can Export and Import the Pipelines as a template / JSON.

enter image description here

Upvotes: 3

Related Questions