Help Center/ CodeArts Build/ User Guide (Ally Region)/ FAQs/ General FAQs/ Files Not Found During Software Package Upload
Updated on 2026-01-08 GMT+08:00

Files Not Found During Software Package Upload

Symptoms

If an incorrect build package path is entered in the action Upload to Release Repos of the build task, an error is reported during task execution, and the following error information is recorded in the log:

Cause Analysis

During action Upload to Release Repos, the required files fail to be found due to incorrect package path configurations. In the preceding error message, the package path is configured as **/target/bb.war. Package bb.war cannot be found because there is no such a package in the target directory.

Solution

  • If you are sure that there is a WAR package in the target directory, but not sure if the name is bb.war:

    Change the build package path to **/target/*.war to match WAR packages.

  • The files in the target directory cannot be determined.

    Add ls -al target to the end of the Shell script in the build action. All files in the target directory will be printed when you run the build task again. After locating the required file, reconfigure the build package path.

  • Build commands run in the workspace directory or its subdirectories. If the build package is not in the workspace directory, copy the package to the workspace directory, such as its subdirectory mv /usr/bin/nginx ./. Otherwise, the package will be lost in the next action.