Add deploy command to lftools
Provides a generic script that can be used to deploy artifacts to a
Nexus site repository. Currently it is hardcoded to use a site repo
named "logs" but a future update can be implemented to allow this repo
to be configurable if necessary.
Provides 3 deploy commands:
archives)
Deploys everything that exists in $WORKSPACE/archives if it exists.
This needs to be provided by the job. Designed to run at the end of a
Jenkins build.
logs)
Deploys system information and build console logs. The script will
handle all this. Designed to run at the end of a Jenkins build.
files)
An arbitrary list of files passed by the user will be deployed to the
logs server into an archives directory. Designed to be used inside of
scripts at any time when the job needs to deploy anything to the
server. This is an alternative to having to place all files inside an
archives directory.
(Unimplemented, will be implemented in a future patch)
Change-Id: Ie48f8c65d89fcdce2cc2619fa4bc3408b1e4d709
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>