Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

The Build Request Form will appear and we need to:

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

================================== Project Request Submitted

Upon submission, the build workflow is initiated and the workflow steps are executed on the Maven instancein the BLD environment, utilizing the MVNBLDendpoint.  Upon completion of the workflow, the execution status will be successful.

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

With the successful execution of the build, a WAR file artifact is created, stored in theartifact repositoryand 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

Now the application can be deployed to anenvironmentby selecting the Deploy button.

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


The Deploy Request Form will appear and we need to:

  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 theEnvironmentthat the deployment will be executed in
  3. select the DeployInstance, will be default from the Project configuration. Deployments can happen on multiple instances.
  4. submit the request, this will initiate the tomcatDeploy workflow

================================== Numbered Deploy Request

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

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

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

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




  • No labels