Changeset f43a200 for Jenkinsfile


Ignore:
Timestamp:
May 31, 2016, 10:27:00 AM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
fde808df
Parents:
353f395
Message:

Jenkins now runs test after build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r353f395 rf43a200  
    1717                sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure > /dev/null'
    1818                sh 'make -j 8'
    19                 email("SUCCESS", false)
    2019
    2120        //something happen, this build is a failure
    2221        } catch (Exception e) {
    23                 email("FAILURE", true)
     22                email("COMPILATION FAILURE", true)
     23                throw e;
     24        }
     25}
     26
     27stage 'Test'
     28node ('master'){
     29        try {
     30                dir 'src/example'
     31                sh './runTests.sh'
     32                dir '../..'
     33                email("SUCCESS", false)
     34        //something happen, this build is a failure
     35        } catch (Exception e) {
     36                email("TEST FAILURE", true)
    2437                throw e;
    2538        }
Note: See TracChangeset for help on using the changeset viewer.