frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Duplicate Pipelines

Open sdwornik opened this issue 7 years ago • 3 comments

Building pipelines isn't difficult, but can be a little time consuming. It would be handy if we could copy (duplicate) an existing pipeline to start with.

sdwornik avatar Sep 27 '17 14:09 sdwornik

on the new pipeline page you can add ?clone=slug-of-other-pipeline to the end of the URL to copy the attributes from that pipeline into the current form.

benhinchley avatar Sep 29 '17 01:09 benhinchley

Kind of hacky. What's a slug-of-other-pipeline ?

sdwornik avatar Oct 02 '17 16:10 sdwornik

slug-of-other-pipeline refers to the name we use for pipelines in URLs, so if the pipeline you want to clone is https://buildkite.com/your-org/cool-pipeline, you’ll want to go to https://buildkite.com/organizations/your-org/pipelines/new?clone=cool-pipeline to clone it!

This feature is definitely a bit hacky. Perhaps one day it’ll graduate to a real, user-facing feature 😄

ticky avatar Oct 02 '17 22:10 ticky