Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Delete-Files does not work



  • Hi,

    After last updates Delete-Files stopped to work properly...
    Any directory could be specified, but it looks like it waits for ServerPath on FTP server(!??).

        Unhandled exception: System.InvalidOperationException: FTP server not specified.
       at Inedo.Extensions.FTP.Operations.FtpOperationBase.CreateRequest(String path) in C:\projects\inedox-ftp\FTP\InedoExtension\Operations\FtpOperationBase.cs:line 109
       at Inedo.Extensions.FTP.Operations.FtpDeleteOperation.<ExecuteAsync>d__7.MoveNext() in C:\projects\inedox-ftp\FTP\InedoExtension\Operations\FtpDeleteOperation.cs:line 34
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__25.MoveNext()
    

    Could you clarify?

    Product: BuildMaster
    Version: 6.0.11



  • That looks like a namespace issue with the FTP extension, you can work around with InedoCore::Delete-Files or deleting the FTP extension if you aren't using it, though the FTP extension should be fixed to require a namespace.



  • Thank you for quick answer, but workaround does not work...
    Parser does not understand that:

    There were one or more errors processing your script:
    [Error] Line 27: Unknown operation "InedoCore::Delete-Files".


  • I've deleted FTP extension and restarted both BM services. After restart it works properly.
    Thank you.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation