Creating an ARA Workflow Job
The ARA Workflow Job is a type of Workflow Job that you associate with the major process contained within the ARA Project module. During the creation of your ARA Workflow Job, you must specify values for the pre-defined input parameters that are received from the underlying BMC Atrium Orchestrator process.
For additional information and instructions for creating a Workflow Job, see Creating-Workflow-Jobs in the BMC Server Automation online documentation. The following instructions focus specifically on the ARA Workflow Job.
To create an ARA Workflow Job
- Through the BMC Server Automation Console, right-click a job folder (under Jobs) and select New > Workflow Job.
- In the General panel of the Workflow Job Creation wizard, enter a name and (optionally) a description for the job, and specify the job folder where you want to store the job.
- In the AO Process panel, select the ARA Deploy J2EE App (NC) process under the ARA Project module (within the Application Deployment folder).
In the Deployment Parameters panel, specify values for the deployment of the application to the Java EE application server environment. The following figure and table illustrate and describe the configuration of these parameters.
Parameter
Description
Application Deploy Job
The name of the Deploy Job to use for the deployment of the application to the Java EE application server after the application's artifacts are successfully retrieved from the SCM system.
For more information about preparing this job, see Preparing-the-Java-EE-Application-Deploy-Job.NSH Path to Copy Artifacts to
The path, in NSH format, to where you want to store copies of the application files after retrieval from the SCM system. The Application Deploy Job deploys the files from this location.
If this path does not include a host name, then this path resides, by default, on the host specified in the next field.
Your input for this parameter is passed on to the SCM script as the value of argument $2, as discussed in Preparing-the-SCM-script.Application Deploy Job Target
The host of the Java EE application server, to which you want to deploy the Java EE application.
Due to limitations of the workflow, you can only specify a single target host in this field. If you want to deploy to multiple target hosts, you can specify multiple target hosts through the Deploy Job, as described in Preparing-the-Java-EE-Application-Deploy-Job.In the next panel, the Repository Parameters panel, specify values for input parameters that pertain to the source SCM system. The following figure and table illustrate and describe the configuration of these parameters.
Parameter
Description
Optional SCM Script Arguments
An ordered list of values for optional arguments that appear in your script ($4 and on, as described in Preparing-the-SCM-script).
NSH Path to Artifact List File
The path, in NSH format, to the Artifact List File that you created (as described in Preparing-an-Artifact-List-file).
Your input for this parameter is passed on to the SCM script as the value of argument $3, as discussed in Preparing-the-SCM-script.NSH Path to SCM Script
The path, in NSH format, to the script that you prepared for accessing the SCM system (as described in Preparing-the-SCM-script).
SCM Build ID
A string that identifies the exact revision of the application files.
The exact type of information might differ, depending on your SCM system. For example: label name, build identifier, revision number, or artifact description.
Your input for this parameter is passed on to the SCM script as the value of argument $1, as discussed in Preparing-the-SCM-script.Host to Execute SCM Script on
The server on which to execute the SCM script. The server must be equipped with a Cygwin-compatible version of the SCM tool client.
- Step through all other wizard panels — Default Notifications, Schedules, Properties, and Permissions — as described in Creating-Workflow-Jobs in the BMC Server Automation online documentation.