- Submit an enhancement/idea requesting this functionality. Links for how to create IDEAs for CA Release Automation can be found in the Additional Information section below.
- Before the "Run RA Deployment Plan" step you can add a step to:
- Create the artifact in an enterprise artifact repository (ex: Sonatype Nexus Pro repository or Artifactory Pro). Using this kind of artifact repository is recommended instead of relying on the sonatype nexus repository included with the installation of the CA Release Automation management component. This is recommended since the nexus sonatype repository installed is:
- Not an enterprise release. It is a free version that is used by the backend of the management server.
- Used for the proper functioning of the management server.
- After the artifact has been moved to an enterprise artifact repository you can add a step to your TFS build to create the artifact version in CA Release Automation using the . Artifact versions in CA Release Automation are reference objects. When you create an artifact in CA Release Automation you specify the location of the artifact. There are a variety of supported sources (ex: git, svn, repository, local file, http, etc..). The artifact version can be created using the create-artifact-version REST API. An example of the JSON data to pass for an artifact source type of "REPOSITORY" is as follows:
{"allowModification":true, "artifactDefinition":"ArtDev1", "artifactType":"ArtType1", "applicationId":"4452000",
"version":"x5.5.1.b1312", "description":"MyDescription", "getterType":"REPOSITORY", "serverGroup":false,
"server":"<the server name of the artifact retrieval agent>", "storeInRepository":false,
"properties":{"Type": "sh", "Repository Url": "http://myArtifactServername:8081/nexus/content/repositories/BuildArtifacts",
"Artifact Id":"releaseauto", "Artifact Version":"5.5.1.b1312", "Classifier": "nag-linux-x64",
"Group Id": "ca", "Password":"myAdminPassword",
"Repository Url":"http://myArtifactServername:8081/nexus/content/repositories/BuildArtifacts",
"Type": "pom", "Username": "admin"}}
- Either:
- Use another CA Release Automation REST API to create a new artifact package with the artifact created above added to it and then use the Run RA Deployment Plan via TFS Plugin for CA Release Automation and point to the newly created artifact package; OR
- Use the Run RA Deployment Plan via the TFS Plugin for CA Release Automation and create a new artifact package and specify the artifact created above to be included.