Changeset d42fa1f for Jenkinsfile


Ignore:
Timestamp:
May 27, 2016, 5:19:04 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
3410c12
Parents:
f2b977a
Message:

Token macro expansion doesn't work in jenkinsfile, trying to use groovy features instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rf2b977a rd42fa1f  
    3030        //send email notification
    3131
    32         def email_subject = TokenMacro.expand( build, listener, email_subject_template );
    33         def email_body = TokenMacro.expand( build, listener, email_body_template );
     32        this.binding.variables.each {k,v -> echo "$k = $v"}
     33
     34        def email_subject = email_subject_template
     35        def email_body = email_body_template
    3436        def email_to = 'tdelisle@uwaterloo.ca'
    3537
    36         emailext body: email_body, subject: email_subject, to: email_to
     38        emailext body: email_body, subject: email_subject, to: email_to, attachLog: true
    3739 }
Note: See TracChangeset for help on using the changeset viewer.