Repository: archiva Updated Branches: refs/heads/citest [created] 23e5df838
Adding initial powershell script for cleanup on CI server Project: http://git-wip-us.apache.org/repos/asf/archiva/repo Commit: http://git-wip-us.apache.org/repos/asf/archiva/commit/23e5df83 Tree: http://git-wip-us.apache.org/repos/asf/archiva/tree/23e5df83 Diff: http://git-wip-us.apache.org/repos/asf/archiva/diff/23e5df83 Branch: refs/heads/citest Commit: 23e5df838aec9699142185c06a84a44d3ec924a8 Parents: e37ed62 Author: Martin Stockhammer <[email protected]> Authored: Sun Apr 30 16:12:17 2017 +0200 Committer: Martin Stockhammer <[email protected]> Committed: Sun Apr 30 16:12:17 2017 +0200 ---------------------------------------------------------------------- src/ci/scripts/cleanup.ps | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/archiva/blob/23e5df83/src/ci/scripts/cleanup.ps ---------------------------------------------------------------------- diff --git a/src/ci/scripts/cleanup.ps b/src/ci/scripts/cleanup.ps new file mode 100644 index 0000000..00d37ae --- /dev/null +++ b/src/ci/scripts/cleanup.ps @@ -0,0 +1,11 @@ +<# + Powershell script for cleaning up remaining processes on the CI servers +#> + +$list = dir +foreach ($item in $list) { + $fn = $item.name + "_.txt" + get-itemproperty $item | format-list +} +Get-Process | sort -Descending CPU +Get-Process iexplo*
