modifyArtifactVersion

Back to index

Summary

Modifies an existing artifact version.
artifactVersionName
Stringrequired
The name of the artifact version.
artifactVersionState
Stringoptional
The state of the artifact version.
Possible values: "available", "publishing", "unavailable"
dependentArtifactVersion
Arrayoptional
The set of artifactVersions on which this artifactVersion depends.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
newName
Stringoptional
The new name for an existing object that is being renamed.
removeAllDependentArtifactVersions
Booleanoptional
If true then all dependencies will be removed.
repositoryName
Stringoptional
The name of the artifact repository.

Usage

Perl

$cmdr->modifyArtifactVersion( "test-artifactVersionName" # artifactVersionName # optionals );

ectool

ectool modifyArtifactVersion \ "test-artifactVersionName" `# artifactVersionName` \ # optionals

Examples

Perl

$cmdr->modifyArtifactVersion("myGroup:myKey:1.0.1-42375", {artifactVersionState => "unavailable"});

ectool

ectool modifyArtifactVersion "myGroup:myKey:1.0.1-57385" --artifactVersionState unavailable