Package com.codicesoftware.plugins.bamboo40

Examples of com.codicesoftware.plugins.bamboo40.PlasticRepository


      @Nullable String lastVcsRevisionKey) throws RepositoryException  {

        String lastCsetBuilt = lastVcsRevisionKey == null ? "-1" : lastVcsRevisionKey;
        log.debug("collectChanges: last vcs key built: " + lastCsetBuilt);

        IChangesProvider changesProvider = ChangesProviderFactory.get().getChangesProvider(repositoryData);
        List<Commit> newerCommits = new ArrayList<Commit>();
        String lastCsetOnRep = changesProvider.getChangesSinceLastBuilt(lastCsetBuilt, newerCommits);
        log.debug(String.format(
                "collectChanges: last changeset on rep:%s, number of commits:%s",
                lastCsetBuilt,
                newerCommits.size()));
        return new BuildRepositoryChangesImpl(lastCsetOnRep, newerCommits);
View Full Code Here


    @NotNull
  public String retrieveSourceCode(@NotNull String planKey, @Nullable String vcsRevisionKey)
            throws RepositoryException  {

        IChangesProvider changesProvider = ChangesProviderFactory.get().getChangesProvider(repositoryData);
        return changesProvider.updateWorkspace(buildDirectoryManager.getBaseBuildWorkingDirectory(), planKey, vcsRevisionKey);
  }
View Full Code Here

TOP

Related Classes of com.codicesoftware.plugins.bamboo40.PlasticRepository

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.