Using Deployment Automation → Example: helloWorld Deployment → Example: Process Design
To complete the process you define the actual plug-in steps. In addition to the Start and Finish steps, which are part of every process, a process must have at least one additional step. The steps are defined with the Process Design pane. You define the steps by dropping them onto the design area and arranging them in the order they are to be executed.
To Define the helloWorld Process Steps:
The steps are listed in the Available Plug-in Steps list-box. Take a moment to expand the listings and review the available steps. Many commonly used plug-in steps are available out-of-the-box.
Figure 1. Adding a Step to the Process
The Edit Properties dialog is displayed when the mouse-pointer is released over the design space.
This dialog displays all configurable parameters associated with the selected step.
For this exercise, we can achieve our goal by entering data into a single field, Directory Offset. Recall that the goal for this ambitious deployment is to move the source files in the base directory to another location. As you might guess, several methods for accomplishing this are available. Pointing the Directory Offset field to the target location is one of the simplest.
If the field is left blank, the process will use the working directory defined earlier. Entering the path overrides the previous value and will cause the source files to be moved, or deployed, to the entered location when the process runs. The default value would move (download) the files to agent_directory\work\component_name_directory.
After entering the target path, save your work and close the dialog box.
A step's position in the workflow is defined by dragging connection arrows to/from it. The arrows define the direction of the workflow.
Hover the mouse pointer over the Start step to display the connection tool, as shown in the following illustration. Each step has a connection tool which is used to connect it to other steps.
Figure 2. Connection Tool
Grab the connection tool and drag it over the Download Artifacts step then release it. A connection arrow connects the two steps. The arrow indicates the direction of process flow, from the originating step to the destination step.
Figure 3. Finished Connection
Figure 4. Completed Process
Once the process steps are defined, the final task is to define an application that uses the component and the component process you just created.
Copyright © 2012–2014 Serena Software, Inc. All rights reserved.