Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
At the completion of this section, you will:
  • Understand how to request a build for a Tomcat application
  • Understand how to request a deployment of the build artifact to an environment
  • Understand the FlexDeploy deployment model of build once and deploy to many environments
  • Understand how to view the execution data

Now that FlexDeploy is configured with everything that is required to execute a build and deploy request for the application, we can execute the first build. On the Project, select the first tab (green - Execution) and select the Build button.

================================== Project Request Complete

Image Added

The Build Request Form will appear and we need to:

  1. Select the environment we want to build the application in,
thethat
  1.  that had the Build Environment checkbox will appear in the dropdown
  2. Select the SCM stream that was configured on
the
  1. the project, this will be pre-populated if there is only one configured stream
  2. Submit the request, this will initiate the mavenBuild workflow
================================== Project Request Submitted

Image Added

Upon submission, the build workflow is initiated and the workflow steps are executed on the Maven instance

in

 in the BLD environment, utilizing the

MVNBLD

MVNBLD endpoint.  Upon completion of the workflow, the execution status will be successful.

================================== Project Request Complete

More information about the workflow execution can be viewed from the Execution Id link.

Image Added

With the successful execution of the build, a WAR file artifact is created, stored in

theand

 and marked with the Project Version. Every build will generate a new Project Version. The generated WAR artifact can be viewed from the

Execution Id link and the

Artifacts tab.

================================== Project Execution Artifacts Tab

Image Added

Now the application can be deployed to

anby

 by selecting the Deploy button.

================================== Project Deploy Button

Image Added


The Deploy Request Form will appear and we need to:

select
  1. Select the Project Version, the form will default to the latest Project Version but the dropdown will contain all previously create Project Versions
select the
  1. Select the Environment
that
  1.  that the deployment will be executed in
select
  1. Select the
Deploy
  1. Deploy Instance, will be default from the Project configuration. Deployments can happen on multiple instances.
submit
  1. Submit the request, this will initiate the tomcatDeploy workflow
================================== Numbered Deploy Request

Image Added

Upon submission, the

deploy

deploy workflow

is

 is initiated and the workflow steps are executed on the TOMCAT instance in the DEV environment, utilizing the TCATDEV endpoint.  Upon completion of the workflow, the execution status will be successful.

================================== Successful Deploy Request

Image Added

With the successful execution of the deploy, the WAR file artifact will be deployed to the DEV environment. Now follow the same deployment steps and deploy the composite to the QA and PROD environments. Upon completion of the deployments, the execution screen should show the Current State of Project Deployments with the same Project Version in all three environments.

================================== Project State Section

Image Added

The Execution Id is a link to all of the execution data related to each request, such as

  1. The workflow execution steps
  2. The logs for each workflow step, click on the link under step
  3. The artifact which can be downloaded
  4. The project and environment instance property values at the time of execution

================================== Workflow Steps Tab

================================== Artifacts Tab

================================== Properties Tab

Image Added

Image Added

Image Added


...