From 26a9c37b0c8a75f275333ad6abdd2a2d8c56fcd9 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Sat, 26 Mar 2022 08:38:53 +0000 Subject: [PATCH] Output folder structure using tree --- publish/do.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/publish/do.groovy b/publish/do.groovy index 555ce1d..8bd8b9f 100644 --- a/publish/do.groovy +++ b/publish/do.groovy @@ -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 ")