Changes in Jenkinsfile [b67dc146:37bf576]
- File:
-
- 1 edited
-
Jenkinsfile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
rb67dc146 r37bf576 1 1 2 //=========================================================================================================== 2 3 // Main compilation routine … … 73 74 currentBuild.result = "SUCCESS" 74 75 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 82 76 try { 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 77 // //Prevent the build from exceeding 30 minutes 78 // timeout(30) { 79 // 92 80 //Wrap build to add timestamp to command line 93 81 wrap([$class: 'TimestamperBuildWrapper']) { … … 97 85 cfa_build() 98 86 99 //Compile using gcc-5100 currentCC = new CC_Desc('gcc-5', 'g++-5', 'gcc-5')101 cfa_build()102 103 //Compile using gcc-4.9104 currentCC = new CC_Desc('gcc-6', 'g++-6', 'gcc-6')105 cfa_build()106 107 87 } 108 }88 // } 109 89 110 90 }
Note:
See TracChangeset
for help on using the changeset viewer.