CA Release Automation - Release Operations Center (Nolio)
Issue/Introduction
We would like to deploy artifacts. We have the artifact created. Now what?
Environment
Release : 6.7
Component : CA RELEASE AUTOMATION Data Management SERVER
Resolution
Steps for deploying an artifact:
Create a new artifact type and artifact definition. Be sure to assign the artifact definition to a server type and component. This makes the "Artifacts" parameter folder available to the component(s). Under the "Artifacts" parameter folder you will find a "Collect Element" parameter for each Artifact Type that has been mapped to this component.
Create a new artifact version under the artifact definition.
Created a flow in the component associated in step 1.
Configure the new flow "Loop Type" to use "COLLECTION".
Then, set it's "Loop Folder" input field to use the artifact type's collection element. This is used so that the parameters under the collection element, like artifact file, know which artifact it should reference.
Create a new "Copy Files or Folders" action. In the "Source Path" input field specify the "Artifact File" parameter from the artifact type's collection element. This is a temporary reference to the artifact file (placed in a temporary folder in the agent's directory) that gets deleted when the deployment completes. Specify a destination for file. This expects a reference to the filename - not just a folder.
Add the action to the flow.
Add the flow to a process and publish the process.
Create an artifact package. Assign the artifact version (created in step 2) to the artifact package.
Create a new deployment plan and add the artifact package to the plan
Run the deployment plan.
The artifact file will deploy the artifact file to the destination specified by the Copy File action created in step 6.