shared-library send email source project How to revoke notifyEmail.notifyEmail "$BUILD_STATUS", "$notifier" arguments BUILD_STATUS: Use currentBuild.currentResult to get current task's result. Reference notifier: Address to receive email you can add cc or bcc and use ',' to separate them.