2020年8月3日
摘要: function fts($a,$b){ $sum=$a+$b Write-Host $sum } function hs($fun,$a,$b){ $c = 32 #调用函数 Invoke-Command $fun -ArgumentList $a,$c } #函数hs调用fts函数 hs ${f 阅读全文
posted @ 2020-08-03 17:13 momingliu11 阅读(491) 评论(0) 推荐(0) 编辑
摘要: steps{ script{ //等待审批人审批,并通过timeout设置任务过期时间,防止任务永远挂起 def userInput timeout(timeout_mins){ try { userInput = input( id: 'inputap', message: "$input_mes 阅读全文
posted @ 2020-08-03 16:04 momingliu11 阅读(1369) 评论(0) 推荐(0) 编辑