retrieveArtifactsGAV2 (Artifactory)

This operation provides an easy way to get an artifact from Artifactory using the Artifact ID, Group ID, and version and store it in the FlexDeploy artifact repository to use in a FlexDeploy workflow.

Environment/Instance Properties

Property NameProperty CodeRequiredDescription




Project Properties

Property NameProperty CodeRequiredDescription




Artifactory Account Properties

Property NameProperty CodeRequiredDescription
Artifactory URL
FDARTIFACCT_URL
YThe URL of Artifactory Repository Manager (e.g. http://[host]:[port]).
Artifactory Username
FDARTIFACCT_USERNAME
Y

User to connect to Artifactory as.

Artifactory Password
FDARTIFACCT_PASSWORD
YThe password for the Artifactory User.

Inputs

Input NameInput CodeRequiredDescription
Artifactory Account
FDARTIF_ARTIFACT_REPOSITORY_ACCOUNT_CODE
Yes

The Artifactory account with all the required properties like Instance Url, Username, and Password for running Artifactory Instance. Configure this under Topology - Integrations - CI Server.

Group ID
FDARTIF_GROUP_ID
Yes
Artifact ID
FDARTIF_ARTIFACT_ID
YesID of the artifact.
Version
FDARTIF_VERSION
No

Version of the artifact. If no version is set the latest version will be retrieved.

Use the version in the pom file. Sometimes Artifactory will show a different version on the General → Dependency Declaration view when a file is selected. 

Download To Directory
FDARTIF_DOWNLOAD_TO_DIR
NoSpecify the Path to store the Artifact downloaded from Artifactory. If left blank, FlexDeploy's default Artifacts directory will be used.
Repository ID
FDARTIF_REPO_ID
NoID of the repository. Will help narrow down the search if multiple repositories have the same artifact ID, group ID, and version.
Classifier
FDARTIF_CLASSIFIER
NoClassifier of the artifact.

Outputs

Output NameDescription


Artifacts

This operation produces artifacts that will be stored in the artifacts repository.

Endpoint Selection

This operation will select all available endpoints associated to the environment/instance.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.