Help documentation

Installing Cruise server

Introduction

The Cruise server is the core of your system.

Installation

How to install Cruise server for Windows

How to install Cruise server for Mac OSX

How to install Cruise server for Linux

How to install Cruise server for Solaris

Location of files after installation of Cruise server

Windows

Linux

Mac OSX

Solaris

Entering your license key

Cruise requires you to enter a license key before you can use it. The first screen you should see upon opening the Cruise dashboard is the screen that prompts you to enter your license key. Cruise will automatically recognise a license key from version 1.0. You do not need to get a new license key if you have one already.

You should have been emailed a license key when you downloaded Cruise. If not, you can get a free trial license key from the Studios website: go to the Cruise page and follow the instructions to get your free license.

Your license key is tied to the username you used to register. Enter the username you used to register, and copy and paste the license key from your email into the textbox provided. Cruise will ignore spaces, line breaks and so forth in the license key. When you are done, click on "Save license" to save your license key. Cruise should tell you either that your license key has been updated successfully, or give you an error message telling you what went wrong.

Once you've entered your license key, you can proceed to set up your first pipeline by clicking on the "Current Activity" tab.

Artifact repository configuration

Cruise needs no configuration once installed. However, we recommend that you create a separate partition on your computer's hard disk for Cruise server artifacts. The artifact repository can grow in size very quickly. If located on your system's main partition you may experience data loss and unpredictable application behaviour as the disk fills up.

Once you have created a new disk partition, you need to tell Cruise where to find it. Go to the "Administration" tab, and click on the tab marked "Source XML". Then click on "edit" to edit Cruise's configuration file. You want to update the configuration so it looks like this:

  <cruise>
    <server artifactsdir="/path/to/artifacts/directory">
    ...
    </server>
  </cruise>

In Windows, you may need to assign your artifact repository partition a separate drive letter. In Windows, your configuration might look like this:

  <cruise>
    <server artifactsdir="E:\cruise-artifacts">
    ...
    </server>
  </cruise>

When you have entered this information, click "Save" to save the configuration file.

You can change the artifacts directory location at any time using the method described above, even when Cruise is running. However Cruise will not move existing artifacts to the new location for you, and changing the location while Cruise is running can result in data loss.

If you decide to move your artifact repository, the safe way to do it is:

  1. pause all pipelines and wait until all active jobs on the agent grid has completed (all agents are in the state "idle")
  2. shut down Cruise server
  3. copy the artifact repository to the new location
  4. edit Cruise's configuration file manually as described above to tell Cruise where to find the artifacts
  5. restart Cruise server

Even when all active jobs on the agent grid have stopped, users may still be uploading artifacts using the RESTful URLs. This is why we need to stop Cruise server completely in order to be safe.