node ('linux'){ stage 'Build' checkout scm //checkout the source code from source control sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure' sh 'make -j 8' }