摘要: #!/bin/bash ## jenkins-workspace-clean-by-jobs.sh ## 循环寻找jobs任务文件夹 for file in /var/lib/jenkins/workspace/* do if [ -d "$file" ]; then job_name=`basen 阅读全文
posted @ 2023-04-14 10:47 天蓝隐湘 阅读(637) 评论(0) 推荐(0) 编辑