This plugin uploads build artifacts to repository sites using SCP (SSH) protocol. First you should define SCP hosts on hudson global config page. After that you can refer to this hosts using select list. See picture for global config:
After entering username/password automatic logon check is performed to
see if you entered it correctly.
Root repository path must exist before you can reference it and should be accessible by user who do publish of files.
Then per job you can enable publishing of build artifacts:
Source points to files which will be uploaded. You can use ant
includes syntax, eg. folder/dist/*.jar. Path is constructed from
Note that you cannot point files outside the workspace directory. For example providing:
../myfile.txt won't work...
Destination points to destination folder on remote site. It will be created if doesn't exists and relative to root repository path.
You can define multiple blocks of source/destination pairs.
- More verbose site name. (JENKINS-7257)
- Added "Keep Hierarchy" option. (JENKINS-8170)
- i18n & l10n(ja) (JENKINS-8109)
- Update code for more recent Hudson
- Fix for JENKINS-2609: version 1.5.1 of the SCP plugin is broken for "password only" authentication
- Enhancement, support for public key authentication (JENKINS-1269)
- Enhancement, works now with Maven2 jobs (JENKINS-1845)
- Improved error diagnosis when the specified file pattern didn't match anything.
- fixed NPE (JENKINS-1269)
- fixed bug with subdirectories creation
- Updated to work with Hudson 1.159 (JENKINS-1054)