uploadArtifact (Nexus)

This operation provides an easy way to upload an artifact to Nexus 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 Nexus repository if required.

Environment/Instance Properties

Property Name

Property Code

Required

Description

Project Properties

Property Name

Property Code

Required

Description

Inputs

Input Name

Input Code

Required

Description

Nexus Username
FDNEXUS_USERNAME

Yes

User to connect to Nexus as.

Nexus Password
FDNEXUS_PASSWORD
YesThe password for the Nexus User.
Nexus URL
FDNEXUS_URL
YesThe URL of Nexus Repository Manager (e.g. http://[host]:[port]).
Nexus Version
FDNEXUS_VERSION
YesThe version of Nexus Repository Manager being used. (Nexus 3.X or Nexus 2.X)

Nexus Path

FDNEXUS_PATH

Yes

PPath to upload an artifact in Nexus. (e.g. releases/artifactId/1.1/)

Nexus Repository
FDNEXUS_REPOSITORY
YesIdentifier of the Nexus repository. Repository ID for Nexus 2, repository name for Nexus 3.
Upload From Directory
FDNEXUS_UPLOAD_FROM_DIR
No

Specify the Path from which the Artifact can be uploaded to Nexus. If no inputs given, the 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.