Set a Base Preview

Whether you want to set one Base Preview, or set multiple Base Previews, the process is the same:

How to set a Base Preview

To create a Base Preview, you’ll first need to have a Preview build to serve as your starting point.

  1. Go to username -> My Projects at the upper-right of the Tugboat screen.
  2. Select the project where you want to set a Base Preview.
  3. Click the name of the repo that contains Preview you want to use as a Base Preview.
  4. Find the Preview you’d like to set as a Base Preview, and go into Settings for that Preview.
  5. Click the checkbox next to Use this Preview as a Base Preview.
  6. Select the Base Preview Type. For more about Base Preview types, see: Base Preview Auto Select.
  7. Press the Save Configuration button.

That preview will be moved to the Base Preview section of the Repository Dashboard. From now on, Previews that match the Base Preview type will build from the snapshot created when that Base Preview was built.

Visual Walkthrough

Add multiple Base Previews

You can add multiple Base Previews to a project, following the directions outlined above.

Set multiple Base Previews

When you’ve set multiple Base Previews, every new Preview build (including automated builds from pull requests) will create a build from all Base Preview Types that match the new Preview build. For more information on Base Preview matching, see: Base Preview Auto Select.

In my sample project, I’ve set two Repository Base Previews, and building a Preview from a new PR automatically created two Previews - one for each Base Preview.

Multiple Base Previews generating multiple Preview builds