Execution (ADF)

At the completion of this section, you will:

  • understand how to request a build for an ADF 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 ADF application, we can execute the first build.  On the Project, select the Execution tab and select the Build button.

The Build Request Form will appear and we need to:

  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 stream that was configured on the project. This will be pre-populated if there is only one configured stream.
  3. Submit the request, which will initiate the applicationBuild workflow.

Upon submission, the build workflow is initiated and the workflow steps are executed on the ADF instance in the Dev environment, utilizing the JDEV endpoint.  Upon completion of the workflow, the execution status will be successful.

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


Now the composite can be deployed to an environment by selecting the 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 the Environment that the deployment will be executed in.
  3. Select the Deploy Instance, 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 ADF instance in the Dev environment, utilizing the ADFDEV endpoint.  Upon completion of the workflow, the execution status will be successful.

With the successful execution of the deploy, the EAR file artifact will be deployed to the Dev environment.  Now follow the same deployment steps and deploy the application to the QA environment or as many environments as needed.  Upon completion of the deployment, the execution screen should show the Current State of Project Deployments with the same Project Version in both environments.

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

1-4  the workflow execution steps as defined during workflow creation

5-8  the logs for each workflow step, click on the link under step

  9  the artifact which can be downloaded

10  the project and environment instance property values at the time of execution




The following macros are not currently supported in the footer:
  • style