deleteArtifact

Back to index

Summary

Deletes an existing artifact element and all artifact versions.
artifactName
Stringrequired
The name of the artifact, compose of the group and artifact concatenated by ':', e.g. "group:artifact". Alternatively, the groupId and artifactKey arguments may be used.
artifactKey
Stringoptional
The artifactKey component of the GAV (GroupId/ArtifactKey/Version) coordinates.
groupId
Stringoptional
The groupId component of the GAV (GroupId/ArtifactKey/Version) coordinates.

Usage

Perl

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

ectool

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

Examples

Perl

$cmdr->deleteArtifact("CloudBees CD/RO :SDK");

ectool

ectool deleteArtifact "CloudBees CD/RO :SDK"