wangzilun
2022-03-08 0f5356d43336a9364fe14afb503282e28bcac159
补充20
1 files modified
3 ■■■■ changed files
Jenkinsfile 3 ●●●● patch | view | raw | blame | history
Jenkinsfile
@@ -122,9 +122,10 @@
    post {
        unsuccessful {
            script{
            env.BUILD_URL = "${BUILD_URL}"
                 sh '''
                    printenv
                    msg="当前构建失败,\n提交人:\${env.GIT_COMMIT_AUTHOR}\n提交信息:\n\${env.GIT_COMMIT_MSG}\n 构建内网链接:\${BUILD_URL}"
                    msg="当前构建失败,\n提交人:${GIT_COMMIT_AUTHOR}\n提交信息:\n${GIT_COMMIT_MSG}\n 构建内网链接:${BUILD_URL}"
                    echo "$msg"
                    sendqq(){
                      rm -f tmp_in