You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .jenkins/Jenkinsfile
-9Lines changed: 0 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -162,26 +162,17 @@ pipeline {
162
162
success {
163
163
script {
164
164
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
-
'''
168
165
}
169
166
}
170
167
failure {
171
168
script {
172
169
buildbadge.setStatus('failing')
173
170
}
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
-
'''
177
171
}
178
172
aborted {
179
173
script {
180
174
buildbadge.setStatus('aborted')
181
175
}
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}"
0 commit comments