Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to get started using Pretested Integration, you need the three repositories described above: The 'upstream' and local repositories probably exist already. Otherwise, you must set up a remote Mercurial repository and clone it unto the clients. For both existing and new repositories it is worth considering disallowing pushes directly to the 'upstream' repository.

The 'downstream' repository is set up by this plugin upon configuration. At this point client repositories should change their default configuration for push-requests to point to this 'downstream' repository.

In Jenkins each job can be configured to use Pretested Integration from the job configuration page. Once selected, Jenkins will start building the job in question every time a developer pushes change to the repository defined in the plugin setup page. Whether or not this repository already exist, it is important to click 'Make/update repository': if the repository does not exist it will be created at the given path and a repository hook will be added. If the repository already exists, the hook will be added. This repository hook is responsible for starting jenkins builds, why this step is important. Refer to the supplied screenshot for a visual example.

At this point client repositories should change their default configuration for push-requests to point to this 'downstream' repository.

Known Issues

Changes

No changes yet.