modifyArtifact

Back to index

Summary

Modifies an existing artifact.
artifactName
Stringrequired
The name of the 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

Perl

$cmdr->modifyArtifact( "test-artifactName" # artifactName # optionals );

ectool

ectool modifyArtifact \ "test-artifactName" `# artifactName` \ # optionals

Examples

Perl

$cmdr->modifyArtifact("thirdParty-SDK", {description => "contains artifact versions for SDK"});

ectool

ectool modifyArtifact "thirdParty-SDK" --description "contains artifact versions for SDK"