Changeset 7359098


Ignore:
Timestamp:
May 31, 2016, 2:24:35 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:
d189e11
Parents:
e309947
Message:

fixed the syntax of pwd call in Jenkinsfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    re309947 r7359098  
    2020                        stage_name = 'Build'
    2121
    22                         //configure the conpilation
    23                         //Don't remove outputs for the clean and configure unless errors are present
     22                        //Clean the directory (Output is not relevant)
    2423                        sh 'make clean > /dev/null'
    25                         sh "CC=gcc-4.9 CXX=g++-4.9 ./configure --prefix=${pwd(true)} > /dev/null"
    26                         sh 'make -j 8'
     24
     25                        //Configure the conpilation (Output is not relevant)
     26                        //Use the current directory as the installation target so nothing
     27                        //escapes the sandbox
     28                        //Also specify the compiler by hand
     29                        def install_dir = pwd tmp: true
     30                        sh "CC=gcc-4.9 CXX=g++-4.9 ./configure --prefix=${install_dir} > /dev/null"
     31
     32                        //Compile the project
     33                        sh 'make -j 8 install'
    2734
    2835                stage 'Test'
Note: See TracChangeset for help on using the changeset viewer.