Changeset ae28ee2 for Jenkinsfile
- Timestamp:
- Feb 16, 2017, 2:33:21 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 8a7db7c
- Parents:
- 0ef06b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r0ef06b6 rae28ee2 31 31 //Compile latex documentation 32 32 doc_build() 33 34 //Run benchmark and save result35 benchmark()36 33 37 34 if( bIsFullBuild ) { … … 194 191 } 195 192 193 build_stage 'Benchmark' 194 195 //Write the commit id to Benchmark 196 writeFile( 'bench.csv', 'data=' + env.CHANGE_ID + ',' ) 197 198 //Append bench results 199 sh 'make -C src/benchmark csv-data >> bench.csv' 200 201 //Then publish the results 202 sh 'curl --data @bench.csv http://plg2/~cforall/cgi-bin/publish.cgi' 203 196 204 build_stage 'Cleanup' 197 205 … … 235 243 make_doc() 236 244 } 237 }238 239 def benchmark() {240 stage 'Benchmark'241 242 status_prefix = 'Documentation'243 244 // //We can't just write to a file outside our repo245 // //Copy the file locally using ssh246 // sh 'scp plg2.cs.uwaterloo.ca:/u/cforall/public_html/perf-history/concurrency.csv bench.csv'247 248 // //Then append to the local file249 // sh 'make -C src/benchmark csv-data >> bench.csv'250 251 // //Then publish the file again252 // sh 'scp bench.csv plg2.cs.uwaterloo.ca:/u/cforall/public_html/perf-history/concurrency.csv'253 245 } 254 246
Note: See TracChangeset
for help on using the changeset viewer.