# artifact-upload **Repository Path**: flowci-plugins/artifact-upload ## Basic Information - **Project Name**: artifact-upload - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-26 - **Last Updated**: 2021-07-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # artifact-upload ## Description Upload job artifact (directory or file) ## Inputs - `artifact_path` (optional): dirs or files to upload, for example: {path}/a.jar;{dir};{dir}/b.zip - `artifact_pattern` (optional): the file serach pattern to find out files and upload ## How to use it ```yml # Example that togeher with git clone, maven-test plugin envs: FLOWCI_GIT_URL: "https://github.com/FlowCI/spring-petclinic-sample.git" FLOWCI_GIT_BRANCH: "master" FLOWCI_GIT_REPO: "spring-petclinic" steps: - name: clone plugin: 'gitclone' allow_failure: false - name: run unit test plugin: 'maven-test' - name: package plugin: 'maven-package' - name: upload envs: artifact_path: '${FLOWCI_MAVEN_PKGS}' # upload packges from last step plugin: 'artifact-upload' ```