You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quick drop from my personal notes to share an idea on community.sdl.com... Main idea is that API-wise your only option to know if publishing is done, is by polling for it. If you are on the server a PublishPostPlugin could trigger the actual moment that publishing is done but that is a different story.
Ideas here are...
Inspired by the demo a cmdlet that understands FPUBSTATUS and the coming isdeployed field
So immediately continues on most statusses, prints something upon status change
Parameters similar to Get-IshPublicationOutput, and -Sleep defaults 60s, -Timeout defaults 3600s as maximum wait to then error out
Taking -IshObject[] should allow to watch multiple and forward over the pipeline for file download for example using write-progress to indicate remaining polls or remaining timeout or both
Quick drop from my personal notes to share an idea on community.sdl.com... Main idea is that API-wise your only option to know if publishing is done, is by polling for it. If you are on the server a PublishPostPlugin could trigger the actual moment that publishing is done but that is a different story.
Ideas here are...
Get-IshPublicationOutput
, and-Sleep
defaults 60s,-Timeout
defaults 3600s as maximum wait to then error out-IshObject[]
should allow to watch multiple and forward over the pipeline for file download for example using write-progress to indicate remaining polls or remaining timeout or both-Status[]
defaulting to the classic finish statusses, but this would allow to know when a pending publish becomes a picked up publish. Existing Wait-cmdlet inspiration https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/wait-event?view=powershell-6-Timeout
Get-IshBackgroundTask
logic/API is possibleReferences
The text was updated successfully, but these errors were encountered: