jenkins - Check out stream from AccuRev without workspace or reference tree -
since can not delete workspace or reference tree in accurev (only deactivate it), want create local copy of streams contents, without using those. ofcourse use accurev hist
in combination accurev cat
, sounds awful workaround such basic functionality. so, wonder, there easy command this?
i want use in jenkins ci environment check sources (compile, run tests, etcetera). never have push changes accurev, accurev gurus recommend using reference tree. however, want create these dynamically , used once. not seem idea clutter accurev server thousands of unused reference trees.
you can use accurev pop
command want. within jenkins, equivalent of using option of "neither" workspace or reference tree if using accurev plug-in jenkins.
if prefer script yourself, can use accurev pop -r -v <stream-name> -l <some-directory-location> /./
substitute in stream name , directory location want write. /./
in command tells accurev populate depot root directory , -r
recurse entire contents below that. can specify directory below level using depot relative path.
Comments
Post a Comment