Using YAML to Upload Binary Packages to a Repository
For details about the restrictions on the uploaded software packages, see Constraints of CodeArts Artifact.
1 2 3 4 5 6 7 8 |
version: 2.0 # The value must be 2.0.
steps:
BUILD:
- upload_artifact:
inputs:
path: "**/target/*.?ar"
version: 2.1
name: packageName
|
Parameter |
Type |
Description |
Mandatory |
Default Value |
---|---|---|---|---|
path |
string |
Directory for storing the build result. A regular expression is supported. Example: **/target/*.?ar uploads all JAR and WAR packages built with Maven. |
Yes |
None |
version |
string |
Directory for storing the build package in a release repo. Leave this blank to use the build ID for the directory (recommended). |
No |
None |
name |
string |
New name for files uploaded to the release repo. Leave this parameter blank to use the original file names (recommended). |
No |
None |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.