Notify complete from Piscal to LeafWeb
This commit is contained in:
@@ -13,6 +13,7 @@ namespace LeafWeb.Core.Remote
|
||||
public string DirectoryName { get; set; }
|
||||
public bool SuppressStorageCopy { get; set; }
|
||||
public PiscalLeafInputFile[] InputFiles { get; set; }
|
||||
public string NotifyCompleteUrl { get; set; }
|
||||
|
||||
static PiscalLeafInput()
|
||||
{
|
||||
|
||||
@@ -73,6 +73,9 @@ namespace LeafWeb.Core.Remote
|
||||
if (leafInput.SuppressStorageCopy)
|
||||
commandText += " -t";
|
||||
|
||||
if (!string.IsNullOrEmpty(leafInput.NotifyCompleteUrl))
|
||||
commandText += $" -u {leafInput.NotifyCompleteUrl}";
|
||||
|
||||
var command = ssh.CreateCommand(commandText);
|
||||
command.Execute();
|
||||
ssh.Disconnect();
|
||||
|
||||
Reference in New Issue
Block a user