uploadArtifact2 (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

Nexus Account Properties

Property NameProperty CodeRequiredDescription
Nexus URL
FDNEXUSACCT_URL
YThe URL of Nexus Repository Manager (e.g. http://[host]:[port]).
Nexus Username
FDNEXUSACCT_USERNAME
Y

User to connect to Nexus as.

Nexus Password
FDNEXUSACCT_PASSWORD
YThe password for the Nexus User.

Inputs

Input Name

Input Code

Required

Description

Nexus Account
FDNEXUS_INP_NEXUS_ACCOUNT_CODE
YesThe Nexus account with all the required properties like Instance Url, Username, and Password for running Nexus Instance. Configure this under Topology - Integrations - Artifact Repository.
Nexus Version
FDNEXUS_VERSION
YesThe version of Nexus Repository Manager being used. (Nexus 3.X or Nexus 2.X)

Nexus Path

FDNEXUS_PATH

Yes