Power Tools Enhanced Deployment

The lightside deployment tool was created as a fast way to build changesets and deploy them the multiple environments. The tool allows any salesforce element to be added to a change set quickly, by filtering on the object it belongs to or by its name via a text search.

Build a Change Set

Create a new Deployment Package

  1. Open the lightside Deployment tab.
    Lightside Deployment tab
  2. Click the New button to create a new Lightside changeset.
  3. Enter a Name and optionally add a Description for the changeset and click Quick Save.
    Lightside new deployment

Add Package Components

  1. Select the Component Type that you need to add.
  2. Components that exist in objects can be filtered by the parent object.
    Lightside deployment component filter
  3. Components can then be filtered by using the text filter.
    Lightside deployment component filter
  4. To add components to the changeset:
    • Select one or more companents and click Add or;
    • Click Add All to add all visible components

Remove Package Components (if required)

  1. Filter the components in the changeset using the text Filter.
    Lightside deployment Remove component filter
  2. Select one or more components.
  3. Click Remove to remove the selected components from the changeset.
  4. Click Save or Quick Save to commit the changes.

Add Test Classes to run on Deployment (optional)

You can optionally add Test Classes to run on deployment of the Deployment Package in the destination Org.

If you add Test Classes, then as per the Salesforce 'Run specified tests' option on inbound change sets, only the tests that you specify are run. Code coverage requirements differ from the default coverage requirements when using this. The executed tests must cover each class or trigger in your Deployment Package with a minimum of 75% code coverage. This coverage is computed for each class or trigger individually and is different from the overall coverage percentage.

Leaving this blank will use the Salesforce default inbound deployment option. In a sandbox deployment, no tests are executed. In a production deployment, all local tests are executed if your change sets contain Apex classes or triggers. If your package doesn't contain Apex components, no tests are run.

To add Test Classes:
  1. Provide the names of test classes as a comma-separated list into the Selected Test Classes textbox.
    Deployment Package Test Classes

Save the Deployment Package

  1. Once a change set is completed click Save to save the changes and return to the Deployment Package record; or
  2. Click Save and Deploy to go to the Deployment page.

Deploy Changeset

From the Deployment Package

  1. From the Deployment Package view page, click on the Deploy button; or
  2. From the Deployment Package edit page, click on the Save and Deploy button.

Create Lightside Deployment Connection

  1. From the Lightside Deployment Connections page, click New Connection.
    Lightside deployment connection
  2. Complete the details of the remote Instance you want to deploy too.
    new Lightside deployment connection
  3. Click on Save to add the Deployment Connection or Save and Validate to add the Deployment Connection and validate its credentials.

Deploy to a single or multiple Environments

  1. From the Deploy screen.
    Lightside deployment screen
  2. Select one or multiple Deployment Connections.
    Lightside deployment screen
  3. Click either Deploy to deploy to the connections or;
  4. Click Upload and Validate to upload the changeset to the different environments and validate that it will deploy.

Monitor Deployments