Tomas Bezdek d1bfc8e4e3 Flatten attribute for publish plugins
plus move examples to tests

Change-Id: Ia785afe40da81c77abe643f3c788e5d4faefbf5d
2014-09-26 10:51:50 +01:00

13 lines
302 B
YAML

publishers:
- ssh:
site: 'server.example.com'
target: 'dest/dir'
source: 'base/source/dir/**'
remove-prefix: 'base/source/dir'
excludes: '**/*.excludedfiletype'
use-pty: true
command: 'rm -r jenkins_$BUILD_NUMBER'
timeout: 1800000
flatten: true