Change function to notify bt email
parent
bfcaf7bc97
commit
9529bebd92
|
@ -7,11 +7,6 @@ def call(String recipients) {
|
||||||
def body = """El build ${env.BUILD_NUMBER} del trabajo '${env.JOB_NAME}' ha finalizado con estado: ${buildStatus}.
|
def body = """El build ${env.BUILD_NUMBER} del trabajo '${env.JOB_NAME}' ha finalizado con estado: ${buildStatus}.
|
||||||
Puedes ver los detalles aquí: ${env.BUILD_URL}"""
|
Puedes ver los detalles aquí: ${env.BUILD_URL}"""
|
||||||
|
|
||||||
// Enviar correo
|
|
||||||
mail to: recipients, subject: subject, body: body
|
mail to: recipients, subject: subject, body: body
|
||||||
// emailext(
|
|
||||||
// to: recipients,
|
|
||||||
// subject: subject,
|
|
||||||
// body: body
|
|
||||||
// )
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue