Changeset 7aebc62


Ignore:
Timestamp:
May 27, 2016, 6:26:14 PM (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:
c012238
Parents:
23a14d86
Message:

Jenkins: testing multi node setup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r23a14d86 r7aebc62  
    11
    2 //Configurations for email format
    3 def email_subject_template = '[$PROJECT_NAME git] - branch $GIT_BRANCH - Build # $BUILD_NUMBER - $BUILD_STATUS!'
    4 def email_body_template = '''This is an automated email from the Jenkins build machine. It was
    5 generated because of a git hooks/post-receive script following
    6 a ref change was pushed to the repository containing
    7 the project "UNNAMED PROJECT".
    82
    9 The branch $GIT_BRANCH has been updated
    10        via  $GIT_COMMIT (commit)
    11       from  $GIT_PREVIOUS_COMMIT (commit)
    12 
    13 Those revisions listed above that are new to this repository have
    14 not appeared on any other notification email; so we list those
    15 revisions in full, below.
    16 
    17 Check console output at $BUILD_URL to view the results.'''
    18 
    19 node ('master'){
    20         //clean the repo and checkout the source code
    21         stage 'Stage Checkout'
     3//clean the repo and checkout the source code
     4stage 'Checkout'
     5node {
    226        checkout scm
    237        sh 'git clean -f'
     8}
    249
     10
     11stage 'Build'
     12node ('master'){
    2513        //configure the conpilation
    26         stage 'Stage Build'
    27         sh 'dfjgh'
    2814        sh 'make maintainer-clean'
    2915        sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure'
    3016        sh 'make -j 8'
     17        sh 'blarg'
     18}
    3119
    32 
    33         stage 'Stage Notify'
    34 
     20stage 'Notify'
     21node {
    3522        //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line
    3623        //Configurations for email format
     
    5744        //send email notification
    5845        emailext body: email_body, subject: email_subject, to: email_to, attachLog: true
    59  }
     46}
Note: See TracChangeset for help on using the changeset viewer.