Edgewall Software

Version 42 (modified by anonymous, 16 years ago) (diff)

--

Frequently Asked Questions

Here you can find answers to frequently asked questions about Bitten.

Overview

  1. General
    1. What is Bitten?
    2. What license governs the use of Bitten?
    3. Can I see an example?
    4. How is Bitten used in other organizations?
    5. I want it. How do I get it?
  2. Bitten Recipe
    1. What is the bitten recipe file?
    2. What commands are available in the bitten recipe?
    3. Can I see some sample bitten recipes?
  3. Bitten Slave
    1. How do I point the bitten slave to my build configuration?
    2. How do I schedule the bitten slave to run at a certain time of the day?
    3. What options does the Bitten slave support?
    4. How does the Bitten slave authenticate on my Trac-platform with AccountManagerPlugin?
    5. How can I quickly run the slave without a repository checkout?
  4. Bitten Master
    1. My slave connects to the build master, why doesn't it start a build?
    2. How do I add one of those cool over-time charts to my build page?

General

What is Bitten?

Bitten is a Trac extension for continuous integration. It uses a distributed build model, where one or more "slaves" run the actual tests, and a "master" gathers the results and displays them nicely on a web page. See the white paper for the original motivation behind the project.

http://www.edgewall.org/gfx/opensource-75x65.png

What license governs the use of Bitten?

Bitten is released under the revised BSD license, which is a liberal open source license that has been approved by the Open Source Initiative (OSI).

Can I see an example?

You can see Bitten live in action at the Bitten build page.

How is Bitten used in other organizations?

An detailed overview of using bitten for the Boost project, an open-source c++ library, can be see at https://www.boostpro.com/trac/projects/boost/

I want it. How do I get it?

To install the bitten slave only see Easy Download and Install.

To install the bitten master (on your Trac server) see here: http://bitten.edgewall.org/wiki/Documentation/install.html.

Also see Bitten Installation.

Bitten Recipe

What is the bitten recipe file?

The bitten recipe file is the script that Bitten uses to download, compile, run, and test your code. It is similar in concept to ant, although it is more limited and domain-specific tool than ant.

What commands are available in the bitten recipe?

See Bitten Recipe Commands.

Can I see some sample bitten recipes?

See this sample for Microsoft Visual Studio projects using MSBUILD or this one for Java projects using JUnit and Ant.

Bitten Slave

How do I point the bitten slave to my build configuration?

If your trac installation is hosted at trac.xxx.com, and you have a project called my-project in trac, the command line would look like:

bitten-slave https://trac.xxx.com/my-project/builds -u <username> -p <password>

How do I schedule the bitten slave to run at a certain time of the day?

Your your operating system's task scheduler to run the bitten-slave at the desired times. Use the "--single" (-s for short) option on the bitten slave so that it exits after a single build instead of polling for more builds. It is recommended to use schtasks for Windows and cron for unix.

What options does the Bitten slave support?

See Bitten Slave Options.

How does the Bitten slave authenticate on my Trac-platform with AccountManagerPlugin?

The /trac.cgi/builds-URL should be protected in the server configuration just like the /login-Location.

How can I quickly run the slave without a repository checkout?

See Running the Bitten slave locally

Bitten Master

My slave connects to the build master, why doesn't it start a build?

See Build Won't Start.

How do I add one of those cool over-time charts to my build page?

The charts are added automatically if your recipe creates junit reports and/or code-coverage reports. To see a sample recipe that will produce junit test results from Java see build recipes for Java projects using JUnit and Ant. To create your own custom charts, see Adding Custom Charts to Bitten.

Attachments (5)

Download all attachments as: .zip