diff --git a/Jenkinsfile b/Jenkinsfile index 2ed7c6d..cb06ef6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,8 +3,12 @@ pipeline { stages { stage('Build') { steps { - sh '''mvn -v -mvn clean''' + sh 'mvn -v ' + } + } + stage('Test') { + steps { + emailext(subject: '${currentBuild.result}: ${env.JOB_NAME} [${env.BUILD_NUMBER}]', to: '$class: FirstFailingBuildSuspectsRecipientProvider', from: '790333234@qq.com', compressLog: true, attachLog: true, body: '" "') } } } diff --git a/README.md b/README.md index 21e60f8..96da345 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ -# Test \ No newline at end of file +# Test +TestOne