Package com.nirima.jenkins.repo.build

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


    }

    private void add(MetadataRepositoryItem meta) {
        root.insert(meta, meta.getPath(), allowOverwrite);
        // add checksums for the item as well
        root.insert(new MetadataChecksumRepositoryItem("md5", meta),
                meta.getPath() + ".md5", allowOverwrite);
        root.insert(new MetadataChecksumRepositoryItem("sha1", meta),
                meta.getPath() + ".sha1", allowOverwrite);
    }
View Full Code Here


    }

    private void add(ArtifactRepositoryItem repositoryItem)
    {
        root.insert(repositoryItem, repositoryItem.getArtifactPath(), allowOverwrite);
        root.insert(new MetadataChecksumRepositoryItem("md5", repositoryItem),
                repositoryItem.getArtifactPath() + ".md5", allowOverwrite);
        root.insert(new MetadataChecksumRepositoryItem("sha1", repositoryItem),
                repositoryItem.getArtifactPath() + ".sha1", allowOverwrite);
    }
View Full Code Here

TOP

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

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.