Changeset ef77d9c


Ignore:
Timestamp:
Jun 8, 2016, 3:41:48 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:
b8f8696
Parents:
8c7994d
Message:

Apprently boolean parameters in jenkinsfiles are still strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r8c7994d ref77d9c  
    128128                                        ]])
    129129
    130                                 echo "FULL BUILD = ${promoteBuild2DoLang}"
    131                                 echo "${promoteBuild2DoLang.getClass()}"
     130                                boolean doPromoteBuild2DoLang = promoteBuild2DoLang == 'true'
     131
     132                                echo "FULL BUILD = ${doPromoteBuild2DoLang}"
    132133
    133134                                //Compile using gcc-4.9
     
    143144                                cfa_build()
    144145
    145                                 if( promoteBuild2DoLang == true ) {
     146                                if( doPromoteBuild2DoLang ) {
    146147                                        push_build()
    147148                                }
     
    165166        finally {
    166167                //Send email with final results
    167                 notify_result(promoteBuild2DoLang == true, err != null, currentBuild.result, log_needed)
     168                notify_result(doPromoteBuild2DoLang, err != null, currentBuild.result, log_needed)
    168169
    169170                /* Must re-throw exception to propagate error */
Note: See TracChangeset for help on using the changeset viewer.