Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Objective

You have a Java application that is built with Maven and the source code is managed in a GIT repository. The goal of this tutorial is to automate the build and deployment across multiple environments. This automation will include:

...

Selecting the GREEN circle for DEV will display the configurable properties/Endpoint and allows for the configuration of the properties.

...

  1. select the environment we want to build the application in, the environments that had the Build Environment checkbox will appear in the dropdown.

  2. select the SCM Branch that was configured on the project, this will be pre-populated if there is only one configured Branch.

  3. submit the request, this will initiate the mavenBuild workflow.

...

Upon submission, the build workflow is initiated and the workflow steps are executed on the Maven instance in instance in the BLD environmentBLD environment, utilizing the LOCALHOST endpoint.  Upon completion of the workflow, the execution status will be successful. More information about the workflow execution can be viewed from the Execution Id link.

...

With the successful execution of the build, a WAR file artifact is created, stored in the artifact repository and the artifact repository and marked with the Project Version. Every build will generate a new Project Version. The generated WAR artifact can be viewed from the Artifacts tab.

...

Now the application can be deployed to an environment by an environment by selecting the deploy icon as shown in the below screenshot.

...

  1. Select the Project Version. The form will default to the latest Project Version but the dropdown will contain all previously create Project Versions.

  2. Select the Environment that the deployment will be executed in.

  3. Select the Deploy InstanceTarget Group, which will be defaulted from the Project configuration.  Deployments can happen on multiple instances.

  4. Submit the request, which will initiate the application Deploy workflow.

...

Upon submission, the deploy workflow is initiated and the workflow steps are executed on the TOMCAT Target Group in the DEV environment, utilizing the TEPLT01 endpoint.  Upon completion of the workflow, the execution status will be successful.

...