public class DeleteArtifactNexusOSS extends Object implements IDeleteArtifact
| Constructor and Description |
|---|
DeleteArtifactNexusOSS(PrintStream logger,
boolean debug)
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteArtifact(org.eclipse.aether.repository.RemoteRepository stagingRepo,
org.eclipse.aether.artifact.Artifact artifact)
Delete a artifact from a Nexus OSS repo using the REST interface of NexusOSS.
|
public DeleteArtifactNexusOSS(PrintStream logger, boolean debug)
logger - A simple PrintStream, obtained from Jenkins.public void deleteArtifact(org.eclipse.aether.repository.RemoteRepository stagingRepo,
org.eclipse.aether.artifact.Artifact artifact)
throws IllegalStateException
deleteArtifact in interface IDeleteArtifactstagingRepo - - The staging repository.artifact - - The artifact with all needed informations.IllegalStateException - Thrown then something goes wrong.org.jenkinsci.plugins.artifactpromotion.IDeleteArtifact#deleteArtifact(org.eclipse.aether.repository.RemoteRepository, org.eclipse.aether.artifact.Artifact, java.io.PrintStream)Copyright © 2014. All Rights Reserved.