Back to index
Summary
Creates a new artifact version.artifactKeyStringoptionalThe artifactKey component of the GAV (GroupId/ArtifactVersionId/Version) coordinates. artifactNameStringoptionalThe name of the artifact containing the artifactVersion. dependentArtifactVersionsArray<Unknown>optionalThe set of artifactVersions on which this artifactVersion depends. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. groupIdStringoptionalThe groupId component of the GAV (GroupId/ArtifactVersionId/Version) coordinates. jobStepIdStringoptionalThe ID of the job step; used to make a project association. repositoryNameStringoptionalThe name of the artifact repository. versionStringoptionalThe version component of the GAV (GroupId/ArtifactVersionId/Version) coordinates. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createArtifactVersion( /* optional arguments */ )