Changeset 9824500


Ignore:
Timestamp:
Jun 14, 2021, 3:47:17 PM (7 weeks ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
master
Children:
a8b0618
Parents:
733fd3d
Message:

Fixed email generation in Jenkins

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/tools.groovy

    r733fd3d r9824500  
    8383
    8484        return """
     85<p>- Changes -------------------------------------------------------------</p>
     86
    8587<pre>
    8688The branch ${env.BRANCH_NAME} has been updated.
    8789${gitUpdate}
    8890</pre>
    89 
    90 <p>Check console output at ${env.BUILD_URL} to view the results.</p>
    91 
    92 <p>- Status --------------------------------------------------------------</p>
    93 
    94 <p>BUILD# ${env.BUILD_NUMBER} - ${currentBuild.result}</p>
    9591
    9692<p>- Log -----------------------------------------------------------------</p>
  • Jenkinsfile

    r733fd3d r9824500  
    234234                def email_subject = "[${project_name} git][BUILD# ${env.BUILD_NUMBER} - ${currentBuild.result}] - branch ${env.BRANCH_NAME}"
    235235                def email_body = """<p>This is an automated email from the Jenkins build machine. It was
    236         generated because of a git hooks/post-receive script following
    237         a ref change which was pushed to the C\u2200 repository.</p>
    238         """ + Tools.GitLogMessage()
     236                        generated because of a git hooks/post-receive script following
     237                        a ref change which was pushed to the C\u2200 repository.</p>
     238
     239                        <p>- Status --------------------------------------------------------------</p>
     240
     241                        <p>BUILD# ${env.BUILD_NUMBER} - ${currentBuild.result}</p>
     242                        <p>Check console output at ${env.BUILD_URL} to view the results.</p>
     243                        """ + Tools.GitLogMessage()
    239244
    240245                def email_to = !Settings.IsSandbox ? "cforall@lists.uwaterloo.ca" : "tdelisle@uwaterloo.ca"
Note: See TracChangeset for help on using the changeset viewer.