Changes between Version 10 and Version 11 of HudsonTracPlugin


Ignore:
Timestamp:
Oct 30, 2009, 2:01:27 AM (14 years ago)
Author:
roadrunner
Comment:

Document the defaults for the config options, and provide sample trac.ini entry.

Legend:

Unmodified
Added
Removed
Modified
  • HudsonTracPlugin

    v10 v11  
    2929   `http://localhost/hudson/job/build_foo/` (for builds from the
    3030   `build_foo` job only).
     31   The default is `http://localhost/hudson/`.
    3132 username::
    3233   The username to use when accessing hudson; leave empty if no
    33    authentication is needed.
     34   authentication is needed. Default is empty.
    3435 password::
    3536   The password to use when accessing hudson; leave empty if no
    36    authentication is needed.
     37   authentication is needed. Default is empty.
    3738 display_modules::
    3839   If set to `true` then display the builds of individual modules in
    3940   the timeline too; otherwise only builds of jobs are displayed.
     41   Default is `false`.
    4042 main_page::
    4143   The url of the hudson page to link to from the trac mainnav; if
    42    empty, no entry is created in the mainnav. Example: `/hudson/`
     44   empty, no entry is created in the mainnav. Example: `/hudson/`.
     45   The default is `/hudson/`.
    4346 display_in_new_tab::
    4447   If set to `true` then open the above hudson page in a new tab (or
    4548   window) instead of in the current tab/window. Not used if
    46    `main_page` is not set.
     49   `main_page` is not set. Default is `false`.
    4750 alternate_success_icon::
    4851   Display a green ball instead of the standard blue one for
    49    successful builds.
     52   successful builds. Default is `false`.
    5053 display_build_descriptions::
    5154   Whether to display the build descriptions for each build instead of
    52    the canned "Build finished successfully" etc messages.
     55   the canned "Build finished successfully" etc messages. Default is
     56   `true`.
    5357
    54 Furthermore, make sure you assign users the `BUILD_VIEW` permission in
     58Example trac.ini (not necessary if using the defaults):
     59{{{
     60[hudson]
     61job_url = http://localhost/hudson/job/build_foo/
     62main_page = /hudson/job/build_foo/
     63alternate_success_icon = true
     64}}}
     65
     66Lastly, make sure you assign users the `BUILD_VIEW` permission in
    5567order for them to be able to see the builds in the timeline.
    5668