createDevOpsInsightDataSource

On this page
Back to index

Summary

Creates a new DevOps Insight data source.
releaseName
Stringrequired
The name of the release.
devOpsInsightDataSourceName
Stringrequired
The DevOps Insight data source name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
pluginKey
Stringoptional
The plugin key. For example, EC-MyPlugin.
pluginParameters
Array<PluginParameter>optional
The plugin parameters to be passed to the plugin for creating the required schedule and polling procedure.
reportObjectTypeName
Stringoptional
The name of a report object type.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createDevOpsInsightDataSource( releaseName: "test-releaseName", devOpsInsightDataSourceName: "test-devOpsInsightDataSourceName", projectName: "test-projectName" /* optional arguments */ )