Changes in / [42851542:31eed869]


Ignore:
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.