Creating a component version in Deploy by using Build

You can use the DevOps Deploy plug-in in Build to create a component version in Deploy. You can specify the component name using the required naming convention to associate the component and its version with the appropriate teamspace and loop.

Before you begin

You must have completed the following tasks:
  • Ensured that a loop is created in DevOps Loop and you have access to Control and Build with appropriate permissions.
  • Created a project in Build and added the build process in the project.
  • Integrate the DevOps Deploy plugin in Build. Refer to the plugin documentation.
  • Ensure the target component already exists in Deploy.

About this task

You must create a component version in Deploy by using the DevOps Deploy plug-in in Build. In the Create Component Version step, you must specify the component name by the following naming convention to associate the version with the correct teamspace and loop.

Naming convention: <teamspace_name>~<loop_name>-<component_name>

For example: payments_team~release_loop-payment_gateway

Procedure

  1. Log in to DevOps Loop.
    The Home page of the Initial Teamspace is displayed, along with the My Loops and Solutions tabs.
  2. Click the Switch Teamspace icon to switch to the teamspace where you want to set up the process to create a component version in Deploy.
  3. Navigate to Build.
    The Projects page is displayed.
  4. Click Templates > Jobs.
  5. Open the build job associated with your build process and the project.
  6. Add the required steps that should be part of your build process, apart from the Create Component Version step.
  7. Perform any of the following steps:
    • To insert a step before another step, click the Insert Before icon ( Insert before icon) for the step before which you want to insert a step. The Step Types window opens for you to select from the available steps.
    • To insert a step after another step, use the associated Insert After icon Insert after icon. The Step Types window opens for you to select from the available steps. Installed plug-ins provide the available steps.
  8. Select the Create Component Version step under Deploy > Tools > DevOps Deploy.
  9. Enter the configuration details for the step and make sure that you provide details for the Component Name field with the following naming convention to associate with the correct teamspace and loop.

    <teamspace_name>~<loop_name>-<component_name>

    For example: payments_team~release_loop-payment_gateway

  10. Click Save to save the configuration.
    You can run the build now and after the build is successful, a new version of the component is created in DevOps Deploy.

Results

A component version is created in Deploy and associated with the correct teamspace and loop.

Example

Example component name: analytics_team~daily_build-data_processor

What to do next

You can now run the build jobs and create the component versions in the Deploy under the correct teamspace and loop.