Changeset b8387fc for Jenkinsfile


Ignore:
Timestamp:
Jun 6, 2016, 11:35:39 AM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
321a2481
Parents:
e365cb5 (diff), e229c22 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ctor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    re365cb5 rb8387fc  
    1 
    21//===========================================================================================================
    32// Main compilation routine
     
    7473        currentBuild.result = "SUCCESS"
    7574
     75        //Properties sent by the git-hooks (ref name, latest commit hash, previous commit hash)
     76        properties( [[$class: 'ParametersDefinitionProperty', parameterDefinitions: \
     77                        [[$class: 'StringParameterDefinition', name: 'GitRefName',     defaultValue: 'master', description: 'name of the ref that changed' ], \
     78                         [$class: 'StringParameterDefinition', name: 'GitRefNewValue', defaultValue: 'HEAD',   description: 'new commit of the reference' ],  \
     79                         [$class: 'StringParameterDefinition', name: 'GitRefOldValue', defaultValue: 'HEAD~1', description: 'old commit of the reference']]   \
     80                ]] )
     81
    7682        try {
    77                 // //Prevent the build from exceeding 30 minutes
    78                 // timeout(30) {
    79                 //
     83                echo "Properties-start"
     84                echo "ref name      : ${GitRefName}"
     85                echo "ref new value : ${GitRefNewValue}"
     86                echo "ref old value : ${GitRefOldValue}"
     87                echo "Properties-stop"
     88
     89                //Prevent the build from exceeding 30 minutes
     90                timeout(30) {
     91
    8092                        //Wrap build to add timestamp to command line
    8193                        wrap([$class: 'TimestamperBuildWrapper']) {
     
    8597                                cfa_build()
    8698
     99                                //Compile using gcc-5
     100                                currentCC = new CC_Desc('gcc-5', 'g++-5', 'gcc-5')
     101                                cfa_build()
     102
     103                                //Compile using gcc-4.9
     104                                currentCC = new CC_Desc('gcc-6', 'g++-6', 'gcc-6')
     105                                cfa_build()
     106
    87107                        }
    88                 // }
     108                }
    89109
    90110        }
Note: See TracChangeset for help on using the changeset viewer.