I always thought it was a permission problem, but I couldn't find a solution, but it was actually a file name problem. Really TMD pit father.
Jenkins project build:
Parameterized construction process - "File Parameter---"File Location: You must write the file name, not the directory
Such as:
File Location: test.jar