Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This operation provides an easy way to 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.

Info

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

Info

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)

Environment/Instance Properties

...

Project Properties

...

...

Artifactory Account Properties

Property Name

Property Code

Required

Description

Artifactory URL

Code Block
FDARTIFACCT_URL
Y

Yes

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

Artifactory Username

Code Block
FDARTIFACCT_USERNAME
Y

Yes

User to connect to Artifactory as.

Artifactory Password

Artifactory Password

Code Block
FDARTIFACCT_PASSWORD
Y

Yes

The password for

the Artifactory User

the Artifactory User.

Inputs

Input Name

Input Code

Required

Description

Artifactory 

Artifactory Account

Code Block
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.

Upload From Directory

Code Block
FDARTIF_UPLOAD_FROM_DIR

Yes

Specify the file(s) to upload to Artifactory.

Group ID

Code Block
FDARTIF_GROUP_ID

Yes

ID of the group.

Artifact ID

Code Block
FDARTIF_ARTIFACT_ID

Yes

ID of the artifact.

Version

Code Block
FDARTIF_VERSION

Yes

Version of the artifact.

Repo ID

Code Block
FDARTIF_REPO_ID

Yes

ID of the repository.

Artifacts

This operation consumes artifacts from the artifacts repository.

...

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

Endpoint Execution

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

Outputs

Output Name

Required

Description

FDARTIF_OUT_ARTIFACT_ID

Yes

Returns the Artifact ID