spring/petclinic
.http://[host]:8010/petclinic
(for the Development Tomcat server)http://[host]:8020/petclinic
(for the Production Tomcat server)js/Jet/DemoJetApp
.http://[host]:8010/jet (for the Development Tomcat server)
http://[host]:8020/jet (for the Production Tomcat server)
Build (BLD)
Development (DEV)
Production (PRD)
Build
environment is used to perform builds.Development
environment is where projects are deployed to for testing before they go into production.Production
environment is where the finished application is deployed to be consumed by the customer.Build
Tomcat
Build
instance is used for building projects, so it is associated to the Build
environment. This association allows us to configure Environment/Instance
properties required for the plugins used in the build workflow.Build
instance has plugin operations such as runMaven(Maven)
, saveArtifacts(File)
, and execute(Unix Shell)
, all of which are used for building projects and adding files to the Artifact Repository.Tomcat
instance is used for deploying Tomcat applications. It is associated to both the Development
and Production
environments, as we will deploy Tomcat applications to both environments.DEVSERVER1
PRODSERVER1
LOCALHOST (automatically created with a new install)
localhost
as the endpoint address, but are created as separate endpoints to demonstrate how endpoints would be created when the target servers are not installed on the FlexDeploy server (in a real world implementation).DEV/Tomcat
. We will see a list of Environment/Instance
properties. Note that the properties marked with *
are required. Endpoints (1)
. This is where an Endpoint
is specified for an Environment/Instance
pair.Clone Project Sources
. This is an operation on the Git plugin which clones the source configured on the project (PetClinic).Build War with Maven
, which uses the runMaven
operation on the Maven plugin to build the war file.Save Artifacts
. This operation of the File plugin simply saves the war file and the JMeter test file to the Artifact Repository.Deploy War to Tomcat
.deployWar
operation of the Tomcat plugin.Clone Project Sources
. This is an operation on the Git plugin that clones the source configured on the project (DemoJetApp).execute
operation of the Unix shell plugin to execute a shell script containing the ojet restore
command.ojet build
command.Save Artifacts
. This operation of the File plugin simply saves the artifacts to the Artifact Repository.Environment/Instance
property created called JET_ARTIFACT_TARGET_PATH (as the value is different by environment)
.Copy Artifacts
, which is a File plugin operation used to copy build artifacts to a location on the endpoint.releasemanager
user, and there is no secondary manager.operator
user (or fdadmin
) must approve the deployment.FD Administrators
is a built in group for administrators with all permissions across FlexDeploy.Operators
is a group for the Operations team, which has permission to view all screens in FlexDeploy, as well as creating Windows, Approvals, Notifications, and updating Approval and Scheduled Tasks
.Developers
is a group created for the Development team, with permissions to perform builds, and deploy to the Development
environment.Release Managers
is a group with permissions to deploy to Development
, as well as creating and updating Releases and Pipelines,
and creating a Snapshot
for a release.fdadmin
is the built-in admin user, and is in the FD Administrators
group. operator
is a user in the Operators
group.developer
is a user in the Developers
group.releasemanager
is a user in the Release Managers
group.