OutSystems.SetupTools
OutSystems.SetupTools copied to clipboard
'Wait' parameter causing TwoStage deploy to be set during publish
While using the "-Wait" parameter, on the Publish-OSPlatformSolution cmdlet, it ended up not only waiting for the solution to publish, as expected, but also causing it to turn into a Two Stage deployment (confirmed here).
Not using the parameter causes the deployment to be the regular, old single stage, but obviously ends up being an async call. At the end of the day, the parameter is misleading as to what it does. https://github.com/OutSystems/OutSystems.SetupTools/blob/66029a69e35981558b387c98da9d2b99b418b7c6/src/Outsystems.SetupTools/Functions/Publish-OSPlatformSolution.ps1#L20
Platform versions confirmed that are affected (assuming they are relevant): "11.9.1.20359", "11.7.3.7036". Occurred while trying to publish System Components.
Let me check that @ravemir