截屏视频帮助

Powershell scripts might gave success codes for failure during deployments.

创建时间: 24 10 月 2012 | 1 条评论
Archie100 的图片
0 同意
0 不同意
0 0 Votes
Login to vote

If the powershell set-executionpolicy is not in remotesigned or unrestricted mode, in the deployment phase scripts might return success code(0) eventhought script is not even executed because of the restriction. From 7 scripts two first completed successfully and later ones failed. After deployment codes are working as they should.

评论 1 Comment跳转至最新评论

Archie100 的图片

This was actually issue with the OS image, which included older version of the agent. That caused lot of different kind of issues during deployment as the plugins where upgrading automatically in the background. Would it be possible to add warning to logs, so that it would tell that you are using older version of the agent or some other mechanism to recognize this trivial issues.  

0
Login to vote