Skip to content

Commit 416db52

Browse files
committed
Remove mails
1 parent e9b85e6 commit 416db52

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

.jenkins/Jenkinsfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,26 +162,17 @@ pipeline {
162162
success {
163163
script {
164164
buildbadge.setStatus('success')
165-
sh '''
166-
echo "Build succeded! Pipeline ${JOB_BASE_NAME} with build ID ${BUILD_NUMBER} using GIT commit ${GIT_COMMIT}" | mail -s "Jenkins CPPuddle: Build ${JOB_BASE_NAME}/${BUILD_NUMBER} succeded" "${MAINTAINER_MAIL}"
167-
'''
168165
}
169166
}
170167
failure {
171168
script {
172169
buildbadge.setStatus('failing')
173170
}
174-
sh '''
175-
echo "Build failed! Pipeline ${JOB_BASE_NAME} with build ID ${BUILD_NUMBER} using GIT commit ${GIT_COMMIT}" | mail -s "Jenkins CPPuddle: Build ${JOB_BASE_NAME}/${BUILD_NUMBER} failed" "${MAINTAINER_MAIL}"
176-
'''
177171
}
178172
aborted {
179173
script {
180174
buildbadge.setStatus('aborted')
181175
}
182-
sh '''
183-
echo "Build aborted on pipeline ${JOB_BASE_NAME} with build ID ${BUILD_NUMBER} using GIT commit ${GIT_COMMIT}" | mail -s "Jenkins CPPuddle: Build ${JOB_BASE_NAME}/${BUILD_NUMBER} aborted" "${MAINTAINER_MAIL}"
184-
'''
185176
}
186177
}
187178
}

0 commit comments

Comments
 (0)