Answer by tanay · Jun 03, 2013 at 02:20 PM
CI configurations are actually stored as Commander schedules. You can use the `clone` API to do this. Given a configuration named `myConfiguration` in a project called `myProject`, the following command will clone it to a configuration named `myNewConfiguration`:
ectool clone --projectName myProject --scheduleName myConfiguration --cloneName myNewConfiguration
The equivalent ec-perl script would be:
use ElectricCommander; my $ec = new ElectricCommander; $ec->clone({ projectName => 'myProject', scheduleName => 'myConfiguration', cloneName => 'myNewConfiguration' });
How can I "Run Again" a job using the ElectricCommander API? 0 Answers
How to export Artifact information 1 Answer
Ectool createSnapshot not working as expected 1 Answer
Recover a failed job by skipping successful steps 1 Answer
How can I retrieve artifact bundle using ectool or ElectricCommander REST API? 1 Answer
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.