getScmSync

On this page
Back to index

Summary

Retrieves a source code synchronization object by name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
scmSyncName
Stringrequired
Name of SCM Sync.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getScmSync( projectName: "test-projectName", scmSyncName: "test-scmSyncName" )