diff --git a/publish/do.groovy b/publish/do.groovy index 8e302d8..555ce1d 100644 --- a/publish/do.groovy +++ b/publish/do.groovy @@ -90,8 +90,14 @@ def publish(hostedftpsiteinfo, String customer, String finalreleaserepofolder = def String ftproot = "${hostedftpsiteinfo.workingdirectory}${customer}" dir(finalreleaserepofolder) { - summaryappend("FTP operations: Transferring to ${ftproot}") + echo "Listing contents of what is going to be sent: (${finalreleaserepofolder})" sh """#!/bin/bash + ls -lsRa . + """ + 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 ")