Jenkinsfile 1.44 KB
Newer Older
incardon's avatar
incardon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!groovy

parallel (

"nyu" : {node ('nyu')
                  {
                    deleteDir()
                    checkout scm
                    stage ('build_nyu')
                    {
                      sh "./build.sh $WORKSPACE $NODE_NAME"
                    }

                    stage ('run_nyu')
                    {
incardon's avatar
incardon committed
16
                      sh "cd openfpm_io && ./run.sh $WORKSPACE $NODE_NAME"
incardon's avatar
incardon committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
                    }
                  }
                 },


"sb15" : {node ('sbalzarini-mac-15')
                  {
                    deleteDir()
                    env.PATH = "/usr/local/bin:${env.PATH}"
                    checkout scm
                    stage ('build_sb15')
                    {
                      sh "echo $PATH && ./build.sh $WORKSPACE $NODE_NAME"
                    }

incardon's avatar
incardon committed
32
                    stage ('run_sb15')
incardon's avatar
incardon committed
33
                    {
incardon's avatar
incardon committed
34
                      sh "cd openfpm_io && ./run.sh $WORKSPACE $NODE_NAME"
incardon's avatar
incardon committed
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
                    }
                  }
                 },

"gin" : {node ('gin')
                  {
                    deleteDir()
                    checkout scm
                    stage ('build_gin')
                    {
                      sh "echo $PATH && ./build.sh $WORKSPACE $NODE_NAME"
                    }

                    stage ('run_gin')
                    {
incardon's avatar
incardon committed
50
                      sh "cd openfpm_io && ./run.sh $WORKSPACE $NODE_NAME"
incardon's avatar
incardon committed
51 52 53 54 55
                    }
                  }
                 }
)