Changeset 91aa5ab
- Timestamp:
- Dec 3, 2020, 4:57:45 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0797198, 4011b98
- Parents:
- 1483a16
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r1483a16 r91aa5ab 82 82 //=========================================================================================================== 83 83 def clean() { 84 build_stage('Cleanup', true) {84 Tools.BuildStage('Cleanup', true) { 85 85 // clean the build by wipping the build directory 86 86 dir(BuildDir) { … … 92 92 //Compilation script is done here but environnement set-up and error handling is done in main loop 93 93 def checkout() { 94 build_stage('Checkout', true) {94 Tools.BuildStage('Checkout', true) { 95 95 //checkout the source code and clean the repo 96 96 final scmVars = checkout scm … … 105 105 debug = true 106 106 release = Settings.RunAllTests || Settings.RunBenchmark 107 build_stage('Build : configure', true) {107 Tools.BuildStage('Build : configure', true) { 108 108 // Configure must be run inside the tree 109 109 dir (SrcDir) { … … 133 133 } 134 134 135 build_stage('Build : cfa-cpp', true) {135 Tools.BuildStage('Build : cfa-cpp', true) { 136 136 // Build outside of the src tree to ease cleaning 137 137 dir (BuildDir) { … … 144 144 } 145 145 146 build_stage('Build : libcfa(debug)', debug) {146 Tools.BuildStage('Build : libcfa(debug)', debug) { 147 147 // Build outside of the src tree to ease cleaning 148 148 dir (BuildDir) { … … 151 151 } 152 152 153 build_stage('Build : libcfa(nodebug)', release) {153 Tools.BuildStage('Build : libcfa(nodebug)', release) { 154 154 // Build outside of the src tree to ease cleaning 155 155 dir (BuildDir) { … … 158 158 } 159 159 160 build_stage('Build : install', true) {160 Tools.BuildStage('Build : install', true) { 161 161 // Build outside of the src tree to ease cleaning 162 162 dir (BuildDir) { … … 168 168 def test() { 169 169 try { 170 build_stage('Test: short', !Settings.RunAllTests) {170 Tools.BuildStage('Test: short', !Settings.RunAllTests) { 171 171 dir (BuildDir) { 172 172 //Run the tests from the tests directory … … 175 175 } 176 176 177 build_stage('Test: full', Settings.RunAllTests) {177 Tools.BuildStage('Test: full', Settings.RunAllTests) { 178 178 dir (BuildDir) { 179 179 //Run the tests from the tests directory … … 193 193 194 194 def benchmark() { 195 build_stage('Benchmark', Settings.RunBenchmark) {195 Tools.BuildStage('Benchmark', Settings.RunBenchmark) { 196 196 dir (BuildDir) { 197 197 //Append bench results … … 202 202 203 203 def build_doc() { 204 build_stage('Documentation', Settings.BuildDocumentation) {204 Tools.BuildStage('Documentation', Settings.BuildDocumentation) { 205 205 dir ('doc/user') { 206 206 make_doc() … … 214 214 215 215 def publish() { 216 build_stage('Publish', true) {216 Tools.BuildStage('Publish', true) { 217 217 218 218 if( Settings.Publish && !Settings.RunBenchmark ) { echo 'No results to publish!!!' }
Note: See TracChangeset
for help on using the changeset viewer.