From 47f3d58d54e0eabed9cbbd5d4c25d3420e74d8c6 Mon Sep 17 00:00:00 2001 From: anand20383 Date: Sun, 14 Apr 2024 18:36:15 +0530 Subject: [PATCH] added email --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d9ad9d4..125a4e0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,13 +9,15 @@ pipeline { } stage('build and analysis') { steps { + mail bcc: '', body: 'Build Started', cc:'', from: '', replyTo: '', subject: 'Build Started', to: 'all@rajtech.io' sh 'dotnet build SampleMVC.sln --no-incremental' sh 'dotnet test SampleMVC.sln' sh 'dotnet publish -c Release StudentsWeb/StudentsWeb.csproj -o published/' + mail bcc: '', body: 'Build Completed', cc: '', from: '', replyTo: '', subject: 'Build completed', to: 'all@rajtech.io' } } } } -} \ No newline at end of file +}