Changes in / [42851542:31eed869]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r42851542 r31eed869 1 2 1 //=========================================================================================================== 3 2 // Main compilation routine … … 74 73 currentBuild.result = "SUCCESS" 75 74 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 76 82 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 80 92 //Wrap build to add timestamp to command line 81 93 wrap([$class: 'TimestamperBuildWrapper']) { … … 85 97 cfa_build() 86 98 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 87 107 } 88 //}108 } 89 109 90 110 }
Note: See TracChangeset
for help on using the changeset viewer.