1.0.2 #22

Merged
ashir merged 4 commits from dev into main 2026-05-05 12:29:11 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit eab661bb4a - Show all commits
Vendored
+3 -3
View File
@@ -153,7 +153,7 @@ pipeline {
success { success {
script { script {
emailext( emailext(
subject: "[Jenkins] ${env.JOB_NAME} #${env.BUILD_NUMBER} succeeded", subject: "[DEV] ${env.JOB_NAME} #${env.BUILD_NUMBER} succeeded",
body: renderEmail('Build succeeded', '#16a34a', buildInfo()), body: renderEmail('Build succeeded', '#16a34a', buildInfo()),
mimeType: 'text/html', mimeType: 'text/html',
to: 'admin@msigmagokulam.com, ashir@mgsigma.net, kailasdevdas@msigmagokulam.com' to: 'admin@msigmagokulam.com, ashir@mgsigma.net, kailasdevdas@msigmagokulam.com'
@@ -163,7 +163,7 @@ pipeline {
failure { failure {
script { script {
emailext( emailext(
subject: "[Jenkins] ${env.JOB_NAME} #${env.BUILD_NUMBER} failed", subject: "[DEV] ${env.JOB_NAME} #${env.BUILD_NUMBER} failed",
body: renderEmail('Build failed', '#dc2626', buildInfo()), body: renderEmail('Build failed', '#dc2626', buildInfo()),
mimeType: 'text/html', mimeType: 'text/html',
to: 'admin@msigmagokulam.com, ashir@mgsigma.net, kailasdevdas@msigmagokulam.com' to: 'admin@msigmagokulam.com, ashir@mgsigma.net, kailasdevdas@msigmagokulam.com'
@@ -193,7 +193,7 @@ def renderEmail(String label, String accent, Map info) {
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="560" style="max-width:560px; background:#ffffff; border-radius:12px; overflow:hidden; box-shadow:0 1px 3px rgba(15,23,42,0.08); font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;"> <table role="presentation" cellpadding="0" cellspacing="0" border="0" width="560" style="max-width:560px; background:#ffffff; border-radius:12px; overflow:hidden; box-shadow:0 1px 3px rgba(15,23,42,0.08); font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<tr><td style="height:3px; background:${accent};"></td></tr> <tr><td style="height:3px; background:${accent};"></td></tr>
<tr><td style="padding:32px 40px 0 40px;"> <tr><td style="padding:32px 40px 0 40px;">
<div style="font-size:12px; font-weight:600; color:${accent}; letter-spacing:0.8px; text-transform:uppercase; margin-bottom:6px;">${label}</div> <div style="font-size:12px; font-weight:600; color:${accent}; letter-spacing:0.8px; text-transform:uppercase; margin-bottom:6px;">${label} · development</div>
<div style="font-size:20px; font-weight:600; color:#0f172a; line-height:1.35;">${env.JOB_NAME}<span style="color:#94a3b8; font-weight:400;"> &middot; #${env.BUILD_NUMBER}</span></div> <div style="font-size:20px; font-weight:600; color:#0f172a; line-height:1.35;">${env.JOB_NAME}<span style="color:#94a3b8; font-weight:400;"> &middot; #${env.BUILD_NUMBER}</span></div>
</td></tr> </td></tr>
<tr><td style="padding:20px 40px 8px 40px;"> <tr><td style="padding:20px 40px 8px 40px;">
+2 -2
View File
@@ -156,7 +156,7 @@ pipeline {
success { success {
script { script {
emailext( emailext(
subject: "[PRODUCTION] ${env.JOB_NAME} #${env.BUILD_NUMBER} succeeded", subject: "[PROD] ${env.JOB_NAME} #${env.BUILD_NUMBER} succeeded",
body: renderEmail('Build succeeded', '#16a34a', buildInfo()), body: renderEmail('Build succeeded', '#16a34a', buildInfo()),
mimeType: 'text/html', mimeType: 'text/html',
to: 'admin@msigmagokulam.com, ashir@mgsigma.net, kailasdevdas@msigmagokulam.com' to: 'admin@msigmagokulam.com, ashir@mgsigma.net, kailasdevdas@msigmagokulam.com'
@@ -166,7 +166,7 @@ pipeline {
failure { failure {
script { script {
emailext( emailext(
subject: "[PRODUCTION] ${env.JOB_NAME} #${env.BUILD_NUMBER} failed", subject: "[PROD] ${env.JOB_NAME} #${env.BUILD_NUMBER} failed",
body: renderEmail('Build failed', '#dc2626', buildInfo()), body: renderEmail('Build failed', '#dc2626', buildInfo()),
mimeType: 'text/html', mimeType: 'text/html',
to: 'admin@msigmagokulam.com, ashir@mgsigma.net, kailasdevdas@msigmagokulam.com' to: 'admin@msigmagokulam.com, ashir@mgsigma.net, kailasdevdas@msigmagokulam.com'