createArtifact

Back to index

Summary

Creates a new artifact.
groupId
Stringrequired
The groupId component of the GAV (GroupId/ArtifactKey/Version) coordinates.
artifactKey
Stringrequired
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.

Usage

Perl

$cmdr->createArtifact( "test-groupId", # groupId "test-artifactKey" # artifactKey # optionals );

ectool

ectool createArtifact \ "test-groupId" `# groupId` \ "test-artifactKey" `# artifactKey` \ # optionals

Examples

Perl

$cmdr->createArtifact("thirdPartyTools", "SDK", {description => "3rd party tools SDK"});

ectool

ectool createArtifact "thirdPartyTools" "SDK" --description "3rd party tools SDK"