Dashboard > CruiseControl > ConfiguringCruiseControl > CruiseControlWithAccurev
CruiseControlWithAccurev Log In | Sign Up   View a printable version of the current page.

Added by Jason Chown , last edited by Jeffrey Fredrick on Apr 19, 2007  (view change)
Labels: 
(None)

A simple Accurev plugin has been submitted to the [mailing list].

It assumes that you run CC from within a workspace attached to the stream you are wanting to test.

Bootstrapper

The bootstrapper updates the local workspace. It also optionally synchronises the time with the server and can "keep" modified files (stopping Accurev barfing with a "modified files not in default group" error every time you tweak a file in the depot).

<accurevbootstrapper [verbose="true"] [keep="true"] [synctime="true"] />

This should be specified within the <bootstrappers> section of config.xml

Source control

The source control plugin reports to CC the files within the stream specified that have changed since the last build.

<accurev stream="streamname" [verbose="true"] />

This should be specified within the <modificationset> section of config.xml

The mailing list link doesn't work!  Does anyone have the plugin anywhere else that I can download it from?

Excellent!

Now, is there any more documentation?  I've gotten a config.xml file set up with the following using the information on this page as you see below, but I am getting an error from cruise control saying that Accurev is returnning the error: "You are not in a directory associated with a workspace".  I have no idea how to tell it to move into the correct directory.

    <!-- Bootstrappers are run every time the build runs,
        *before* the modification checks -->
    <bootstrappers>
        <accurevbootstrapper verbose="true" synctime="true" />
    </bootstrappers>

    <!-- Defines where cruise looks for changes, to decide
         whether to run the build -->
    <modificationset quietperiod="10">
      <accurev stream="RDMs-8.0-cc" verbose="true" />
      <!- <cvs localworkingcopy="checkout/RDMServer8_0"/> ->
    </modificationset>

[cc]Apr-19 16:19:46 Accurev       - You are not in a directory associated with a workspace
[cc]Apr-19 16:19:46 Project       - Project RDMServer8_0:  idle
[cc]Apr-19 16:19:46 jectController- RDMServer8_0 Controller: build progress event: idle
[cc]Apr-19 16:19:46 Project       - exception attempting build in project RDMServer8_0
net.sourceforge.cruisecontrol.CruiseControlException: Error running accurev update
        at net.sourceforge.cruisecontrol.sourcecontrols.accurev.AccurevCommandline.assertSuccess(Acc
urevCommandline.java:356)
        at net.sourceforge.cruisecontrol.bootstrappers.AccurevBootstrapper.runAccurev(AccurevBootstr
apper.java:106)
        at net.sourceforge.cruisecontrol.bootstrappers.AccurevBootstrapper.bootstrap(AccurevBootstra
pper.java:122)
        at net.sourceforge.cruisecontrol.Project.bootstrap(Project.java:746)
        at net.sourceforge.cruisecontrol.Project.build(Project.java:190)
        at net.sourceforge.cruisecontrol.Project.execute(Project.java:146)
        at net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:369)
        at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
        at java.lang.Thread.run(Thread.java:595)

Thanks for your help!

Kevin

Ok, I'm blind.  Found this bit in the same area as your previous link that answered that question.

http://cruisecontrol.sourceforge.net/main/configxml.html#accurevbootstrapper

Thanks!

Kevin

Powered by a free Atlassian Confluence Open Source Project License granted to ThoughtWorks, Inc.. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators