Skip to content
Snippets Groups Projects
Commit e0b16b76 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Adding pipeline for jenkins

parent ecadd99f
No related branches found
No related tags found
No related merge requests found
#!groovy
node ('gin')
{
stage 'build'
checkout scm
sh "./build_device.sh $WORKSPACE $NODE_NAME"
stage 'run'
sh "./src/mem"
}
build.sh 0 → 100755
#! /bin/bash
mkdir src/config
sh ./autogen.sh
if [ "$2" == "master" ]
then
sh ./configure --disable-gpu
elif [ "$2" == "gin" ]
then
module load gcc/4.9.2
module load boost/1.54.0
sh ./configure --with-boost=/sw/apps/boost/1.54.0/
else
sh ./configure
fi
make
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment