fqx
2021-11-22 b96eb3dcac5dafb9c535ed1a9458c4ded47f46b7
Jenkinsfile
@@ -12,6 +12,9 @@
        //给日志加上时间错, 需安装 Timestamper 插件
        timestamps()
        ansiColor('xterm')
        //丢弃旧的构建前两个为发布包保留天数(比此早的发布包将被删除,但构建的日志、操作历史、报告等将被保留)和构建个数
        buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '7', numToKeepStr: '10')
    }
    stages {
        stage('source') {
@@ -51,9 +54,7 @@
                }
            }
            steps{
                step{
                    echo "todo add version"
                }
                echo "todo add version"
            }
        }