Changeset 23a14d86


Ignore:
Timestamp:
May 27, 2016, 6:07:37 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, 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:
7aebc62
Parents:
63fe9f1d
Message:

Jenkins
added clean steps so a full build is always made.
added error test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r63fe9f1d r23a14d86  
    1818
    1919node ('master'){
    20         stage 'Build'
     20        //clean the repo and checkout the source code
     21        stage 'Stage Checkout'
     22        checkout scm
     23        sh 'git clean -f'
    2124
    22         sh 'printenv'
     25        //configure the conpilation
     26        stage 'Stage Build'
     27        sh 'dfjgh'
     28        sh 'make maintainer-clean'
     29        sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure'
     30        sh 'make -j 8'
    2331
    24         //clean the repo and checkout the source code
    25         checkout scm
    2632
    27         //Configurations for email format
     33        stage 'Stage Notify'
    2834
    2935        //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line
     36        //Configurations for email format
    3037        def project_name = (env.JOB_NAME =~ /(.+)\/.+/)[0][1]
    3138
     
    4855        def email_to = 'tdelisle@uwaterloo.ca'
    4956
    50         //configure the conpilation
    51         sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure'
    52 
    53         //build
    54         sh 'make -j 8'
    55 
    5657        //send email notification
    5758        emailext body: email_body, subject: email_subject, to: email_to, attachLog: true
Note: See TracChangeset for help on using the changeset viewer.