I have some repository definition that I would like to run a daily summary against and generate change sets for.
I have a configuration setup like this:
--- root/Build
----- in root/Build lives a repository definition for perforce "My Repo"
--- root/Build/Summary
I would like for root/Build/Summary to populate changesets and send out a email at the end of each day. I have the start and end cl.
I am attempting the following groovy script:
def repo = repositories.get(vars.getValue("RepositoryName"));
def startCL = new com.pmease.quickbuild.plugin.scm.perforce.PerforceRevision( vars.getValue("LastSuccessfulCL") )
def endCL = new com.pmease.quickbuild.plugin.scm.perforce.PerforceRevision( vars.getValue("LatestCL") );
repo.setRevision( startCL );
repo.takeSnapshot();
// What do here?
repo.getChanges(); /// ????
I want to refrain from causing root/Build/Summary to sync at night.
Everything I seem to be trying is not actually populating any change sets into the build root/Build/Summary. Could you assist me where I might have made an error?
- solved #10
- replies 10
- views 3208
- stars 0