public DeploymentResult Execute(JobConfiguration jobConfiguration) { DeploymentResult result; foreach (var stepConfiguration in jobConfiguration.Steps.Where(stepConfiguration => stepConfiguration.SubSystem == SsisSubSystem.IntegrationServices)) { try { _ioWrapper.CreateDirectoryIfNotExists(stepConfiguration.DtsxFileDestination); _ioWrapper.CopyFile(stepConfiguration.DtsxFile, stepConfiguration.DtsxFileDestination); _ioWrapper.CopyFile(stepConfiguration.DtsxConfigurationFile, stepConfiguration.DtsxFileDestination); } catch (Exception ex) { result = new DeploymentResult(ex, false, GetType()); return(result); } } result = new DeploymentResult(null, true, GetType()); return(result); }