uploadArtifacts2 (Artifactory)
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.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Artifactory Account Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Artifactory URL | FDARTIFACCT_URL | Y | The 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 | Y | The password for the Artifactory User. |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
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. |
Artifactory Path | FDARTIF_REMOTE_PATH | Yes | Path to upload an artifact in Artifactory. (e.g. generic-local/flexagon/PluginTest1/1.1/) |
Upload From Directory | FDARTIF_UPLOAD_FROM_DIR | No | Specify the Path from which the Artifact can be uploaded to Artifactory. If no inputs given, FlexDeploy's default Artifacts dir will be used. |
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.
Outputs
Output Name | Required | Description |
---|---|---|
FDARTIF_OUT_ARTIFACT_ID | Yes | Returns the Artifact ID |
- style