The YAML schema for UploadArtifact native step is as shown below. For more information on UploadArtifact Pipeline steps, see UploadArtifact.
UploadArtifact
pipelines: - name: <string> steps: - name: <string> type: UploadArtifact configuration: targetPath: <string> #required sourcePath: <string> #optional properties: <string> #optional regExp: <boolean> #optional flat: <boolean> #optional module: <string> #optional deb: <string> #optional recursive: <boolean> #optional dryRun: <boolean> #optional symlinks: <boolean> #optional explode: <boolean> #optional exclusions: <string> #optional includeDirs: <boolean> #optional syncDeletes: <string> #optional forceXrayScan: <boolean> #optional failOnScan: <boolean> # default true autoPublishBuildInfo: <boolean> #optional inputResources: - name: myGitRepo - name: artifactoryFileSpec - name: myRemoteFile outputResources: - name: myFileSpec - name: myBuildInfo integrations: - name: myArtifactory execution: onStart: - echo "Preparing for work..." onSuccess: - echo "Job well done!" onFailure: - echo "uh oh, something went wrong" onComplete: #always - echo "Cleaning up some stuff"