uploadArtifactsGAV (Artifactory)

This operation provides an easy way to upload an artifact to Artifactory Repository Manager from FlexDeploy artifact repository or any current file system directory. This can be used in FlexDeploy build workflows to upload the generated Project Build to Artifactory repository if required.

File path will end up being: RepoID/GroupID/ArtifactID/Version/FileName

If you format the file name correctly (e.g. ArtifactID-Version-SNAPSHOT-Classifier.Extension) SNAPSHOT will automatically be replaced by Artifactory with the time, date and build number. (e.g. Artifact1-1.0-SNAPSHOT-javadoc.jar on January 31st 2020 at 8:30 P.M. UTC would become Artifact1-1.0-20200131.203000-1-javadoc.jar)

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Artifactory URL

FDARTIF_URL

Yes

The URL of Artifactory Repository Manager (e.g. http://[host]:[port]).

Include the http:// or the operation will fail

Artifactory Username

FDARTIF_USERNAME

Yes

User to connect to Artifactory as.

Artifactory Password

FDARTIF_PASSWORD

Yes

The password for the Artifactory User.

Upload From Directory

FDARTIF_UPLOAD_FROM_DIR

Yes

Specify the file(s) to upload to Artifactory.

Group ID

FDARTIF_GROUP_ID

Yes

ID of the group.

Artifact ID

FDARTIF_ARTIFACT_ID

Yes

ID of the artifact.

Version

FDARTIF_VERSION

Yes

Version of the artifact.

Repo ID

FDARTIF_REPO_ID

Yes

ID of the repository.

Outputs

Output Name

Required

Description

Output Name

Required

Description

FDARTIF_OUT_ARTIFACT_ID

Yes

Returns the Artifact ID 

Artifacts

This operation consumes artifacts from the artifacts repository.

Endpoint Selection

This operation will select all available endpoints associated to the target.

Endpoint Execution

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

The following macros are not currently supported in the footer:
  • style