<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[stisom的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/stisom</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; stisom]]></copyright><item><title><![CDATA[Pipeline shell step aborts with -1 : Jenkins-48300]]></title><link>https://blog.youkuaiyun.com/stisom/article/details/123995165</link><guid>https://blog.youkuaiyun.com/stisom/article/details/123995165</guid><author>stisom</author><pubDate>Wed, 06 Apr 2022 17:44:57 +0800</pubDate><description><![CDATA[(JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)




这个问题发生在执行sh 时由于执行时间过长，jenkins 中的外部任务，例如shell 命令，被一个Durable Task 的插件通过heartbeat管理着。当Jenkins agent上发生OOM，.]]></description><category></category></item><item><title><![CDATA[.NetCore 单元测试之最佳实践]]></title><link>https://blog.youkuaiyun.com/stisom/article/details/81483876</link><guid>https://blog.youkuaiyun.com/stisom/article/details/81483876</guid><author>stisom</author><pubDate>Tue, 07 Aug 2018 17:16:37 +0800</pubDate><description><![CDATA[原文转自： https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-best-practices?view=aspnetcore-2.1

使用单元测试有太多的好处, 它可以帮助我们回归测试，文档结构化，促进更好的设计等。然而，那些不合适或者不易于阅读的单元测试会对代码本身造成巨大的破坏。
本片中，会介绍一些单元测试的最佳...]]></description><category></category></item><item><title><![CDATA[开始DotNetCore之旅]]></title><link>https://blog.youkuaiyun.com/stisom/article/details/81454972</link><guid>https://blog.youkuaiyun.com/stisom/article/details/81454972</guid><author>stisom</author><pubDate>Mon, 06 Aug 2018 16:47:44 +0800</pubDate><description><![CDATA[ 

下载.NetCore SDK

从Microsoft官方网站下载最新的DotNetCore SDK. 目前最新的版本是2.1

https://www.microsoft.com/net/learn/get-started-with-dotnet-tutorial

下载最新的VSCode, 学习.netCore 为什么要选择VSCode. 轻量，简单的风格令人耳目一新，几乎支持目前所有的编...]]></description><category></category></item><item><title><![CDATA[利用Powershell DSC绕过PSSession和域账号的安全限制]]></title><link>https://blog.youkuaiyun.com/stisom/article/details/81356659</link><guid>https://blog.youkuaiyun.com/stisom/article/details/81356659</guid><author>stisom</author><pubDate>Thu, 02 Aug 2018 15:44:41 +0800</pubDate><description><![CDATA[这里介绍一种比较Tricky的绕过域账号本地安全限制的方式。

利用Powershell DSC执行时使用LocalSystem权限的特点，进而可以通过域账号或者域ServiceAccount(具有administrator权限), 绕过域账号安全限值，进行本地最高权限账户才能进行敏感操作。如之前

在域账号的PSSession(WSMan)中执行相关“不受限”的操作，如

使用SQLPS中的In...]]></description><category></category></item><item><title><![CDATA[Powershell+WMI事件订阅]]></title><link>https://blog.youkuaiyun.com/stisom/article/details/81343808</link><guid>https://blog.youkuaiyun.com/stisom/article/details/81343808</guid><author>stisom</author><pubDate>Thu, 02 Aug 2018 10:17:04 +0800</pubDate><description><![CDATA[ 

业务场景：添加WMI事件实现对Winrm service的监控，当Winrm 异常停止时，重新启动.

BG: 在Powershell 出生之前， WMI是无可替代的远程（本地）系统管理工具。当下Powershell 已经慢慢取代了ActiveScript+WMI, 然而不可否认WMI依旧是WINDOWS系统管理的利器。

大家知道DCOM是最初WMI通讯协议，RPC也是饱受黑客眷顾的服务。...]]></description><category></category></item><item><title><![CDATA[PowerShell 异常处理]]></title><link>https://blog.youkuaiyun.com/stisom/article/details/81318881</link><guid>https://blog.youkuaiyun.com/stisom/article/details/81318881</guid><author>stisom</author><pubDate>Tue, 31 Jul 2018 19:27:22 +0800</pubDate><description><![CDATA[   作为脚本语言，当我们往往关心的是如何实现功能，更好更快更简短的实现越来越灵活的需求，这些功能大多可能是一次性的，所以不怎么重视其错误处理。。作为脚本语言，powershell 既灵活，功能又强大，语法精炼，容错性高。对于功能复杂的业务场景，这种思维往往使人深受其害，笔者也是后知后觉，如何灵活且正确的捕获处理和异常，在shell编程中也很重要。
全局错误处理偏好

$ErrorActionPr...]]></description><category></category></item></channel></rss>