Uploading files to nightlies.apache.org via a Jenkins job:
- Add a 'Post Build action' to 'Send build artifacts over SSH'
- Choose the source files location of the artifacts you wish to publish
- Type in the Remote Directory location as being $project or use the $JOB_NAME var
See
this job as a working example.