wangzilun
2021-11-22 1ffb479e8129bd964d942f7590bde6e8f25685ab
pipeline中丢弃旧的构建
1 files modified
1 ■■■■ changed files
Jenkinsfile 1 ●●●● patch | view | raw | blame | history
Jenkinsfile
@@ -12,6 +12,7 @@
        //给日志加上时间错, 需安装 Timestamper 插件
        timestamps()
        ansiColor('xterm')
        buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '7', numToKeepStr: '10')
    }
    stages {