createArtifact

On this page
Back to index

Summary

Creates a new artifact.
artifactKey
Stringoptional
The artifactKey component of the GAV (GroupId/ArtifactKey/Version) coordinates.
artifactVersionNameTemplate
Stringoptional
The artifactVersion name template.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
groupId
Stringoptional
The groupId component of the GAV (GroupId/ArtifactKey/Version) coordinates.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createArtifact( /* optional arguments */ )