Skip to main content

Setup a deployment project


Setup a deployment project

See this documentationopen in new window to setup a generic deployment project in Bamboo

Below is a summary of the setup steps specifically for deployments for a Blue Yonder WMS setup in combination with the Bamboo Rollout Manager plugin.

Create a deployment project

See how to create a deployment project hereopen in new window

Bamboo Deployment Configuration: deployment project
Bamboo Deployment Configuration: deployment project

Setup release versioning

Bamboo Deployment Configuration: Release Versioning
Bamboo Deployment Configuration: Release Versioning

To name the rollout releases the same as the Jira Release version, use the following variable:

${bamboo.jira.version}
Bamboo Deployment Configuration: Link build plan
Bamboo Deployment Configuration: Link build plan

Create the production environment

Create an environment called 'Production' that represents the Blue Yonder WMS production environment.

At a minimum, we need to add tasks and assign agents. We can add triggers if we don't want to initiate the deployment to each environment manually.

Bamboo Deployment Configuration: Edit Environments
Bamboo Deployment Configuration: Edit Environments

Add Tasks

Typically for a remote environment, we add the following tasks:

  1. Clean working directory task. This is a standard Bamboo task. Required so different artifacts (rollouts) don't interfere with each other.
  2. Download Rollout. This is to copy the rollout from the Bamboo server to the remote agent on the Blue Yonder WMS server. Select the 'WM Rollout' if we are installing the WM rollouts, and 'REFS Rollout' if the REFS rollout needs to be installed.
  3. Control Windows Service. To stop the Blue Yonder WMS windows service while the rollout is being installed
  4. Install WM Rollout for Deployment. The task to install the WM or REFS rollout.
  5. Control Windows Service To start the Blue Yonder WMS windows service back up.

Below are screenshots for these tasks as examples

Bamboo Deployment Configuration: Task Download Rollout
Bamboo Deployment Configuration: Task Download Rollout
Bamboo Deployment Configuration: Task Control Windows Service
Bamboo Deployment Configuration: Task Control Windows Service
Bamboo Deployment Configuration: Task Install Rollout
Bamboo Deployment Configuration: Task Install Rollout

Agent Assignment

To link the right Remote Agent to the right environment, we need to assign an Agent to this Bamboo Environment

Bamboo Deployment Configuration: Assign Agent
Bamboo Deployment Configuration: Assign Agent

Triggers

If we want the deployment in another environment to trigger the deployment in this environment, we can add a trigger here.

Bamboo Deployment Configuration: Triggers
Bamboo Deployment Configuration: Triggers
Last update:
Contributors: Pieter Hartog