Skip to content

Commit

Permalink
Update mtdna_server_2.nf
Browse files Browse the repository at this point in the history
  • Loading branch information
seppinho authored Dec 28, 2024
1 parent 576ba12 commit 62b4656
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workflows/mtdna_server_2.nf
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ workflow.onComplete {
to "${params.user.email}"
from "${params.service.email}"
subject "[${params.service.name}] Job ${params.project} failed."
body "Hi ${params.user.name}, your job failed :(. Logs can be accessed at ${params.service.url}/index.html#!jobs/${params.project}"
body "Dear ${params.user.name}, your job has ${statusMessage}. More details can be found at the following link: ${params.service.url}/index.html#!jobs/${params.project}"

}
}
Expand All @@ -250,8 +250,8 @@ workflow.onComplete {
sendMail{
to "${params.user.email}"
from "${params.service.email}"
subject "[${params.service.name}] Job ${params.project} is complete."
body "Hi ${params.user.name}, your job completed successfully and can be accessed at ${params.service.url}/index.html#!jobs/${params.project}"
subject "[${params.service.name}] Job ${params.project} is complete"
body "Dear ${params.user.name}, \n your mtDNA-Server 2 job has finished succesfully.\n You can download the results from the following link: ${params.service.url}/index.html#!jobs/${params.project}"
}
println "::message:: " + "Sent email notification to <b>${params.user.email}</b>"
} else {
Expand Down

0 comments on commit 62b4656

Please sign in to comment.