Changeset 31eed869 for Jenkinsfile


Ignore:
Timestamp:
Jun 4, 2016, 11:10:04 AM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
e229c22
Parents:
42851542 (diff), b67dc146 (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' of plg2:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r42851542 r31eed869  
    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.