Package com.nirima.jenkins.repo.build

Examples of com.nirima.jenkins.repo.build.ArtifactRepositoryItem


    }

    public @Override void visitArtifact(MavenBuild build, MavenArtifact artifact)
    {
        // add a Maven 2 compatible artifact entry
        ArtifactRepositoryItem repositoryItem = new ArtifactRepositoryItem(build, artifact, false);
        if (!repositoryItem.fileExists()) {
            return; // skip this artifact, its file was purged
        }
        add(repositoryItem);

        // if this is a snapshot, also add a Maven 3 compatible artifact entry
        if (artifact.version.endsWith("-SNAPSHOT")) {
            ArtifactRepositoryItem item = new ArtifactRepositoryItem(build, artifact, true);
            add(item);
            // add metadata for this artifact version
            String key = artifact.groupId + ":" + artifact.artifactId + ":" + artifact.version;
            MetadataRepositoryItem meta = metadata.get(key);
            if (meta == null) {
View Full Code Here

TOP

Related Classes of com.nirima.jenkins.repo.build.ArtifactRepositoryItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.