deleteArtifact

On this page
Back to index

Summary

Deletes an existing artifact element and all artifact versions.
artifactName
Stringoptional
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

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.deleteArtifact( /* optional arguments */ )