Output folder structure using tree

This commit is contained in:
Dan Hawkins 2022-03-26 08:38:53 +00:00
commit 26a9c37b0c

View file

@ -92,12 +92,11 @@ def publish(hostedftpsiteinfo, String customer, String finalreleaserepofolder =
dir(finalreleaserepofolder) {
echo "Listing contents of what is going to be sent: (${finalreleaserepofolder})"
sh """#!/bin/bash
ls -lsRa .
tree -a .
"""
summaryappend("FTP operations: Transferring to ${ftproot}")
echo "Executing: ncftpput -u ${hostedftpsiteinfo.username} -p ${hostedftpsiteinfo.password} -R ${hostedftpsiteinfo.url} \"${ftproot}\" ."
sh """#!/bin/bash
ls -lsRa .
ncftpput -u ${hostedftpsiteinfo.username} -p ${hostedftpsiteinfo.password} -R ${hostedftpsiteinfo.url} "${ftproot}" .
"""
summaryappend(", Transferred ")