diff --git a/tests/API-dhcp/Jenkinsfile b/tests/API-dhcp/Jenkinsfile index e8d4070..cd2819f 100644 --- a/tests/API-dhcp/Jenkinsfile +++ b/tests/API-dhcp/Jenkinsfile @@ -56,8 +56,7 @@ pipeline { always { script { def commiterEmail = sh(script: 'git log -1 --pretty=format:%ae', returnStdout: true).trim() - emailext( - to: "${committerEmail}", + mail to: commiterEmail, subject: "Jenkins Job Completed: ${env.JOB_NAME} #${env.BUILD_NUMBER}", body: """ El job '${env.JOB_NAME}' con nĂºmero de build ${env.BUILD_NUMBER} ha finalizado. @@ -65,7 +64,8 @@ pipeline { Estado: ${currentBuild.currentResult} Revisa los detalles del build en: ${env.BUILD_URL} - """ + """ + attachLog: true ) } }