Jenkinsfile_examples_test 839 Bytes
Newer Older
incardon's avatar
incardon committed
1 2 3 4 5 6 7 8 9 10
#!groovy

parallel (

"gin" : {node ('gin')
        {
         deleteDir()
         checkout scm
         stage ('build_gin')
         {
incardon's avatar
incardon committed
11
          sh "./build.sh $WORKSPACE $NODE_NAME pdata full  && make install"
incardon's avatar
incardon committed
12 13 14 15
         }

         stage ('run_example_gin')
         {
incardon's avatar
incardon committed
16
          sh "export PATH=\"/usr/local/binutils/bin/:$PATH\" && source $HOME/openfpm_vars_master && cd example && make"
incardon's avatar
incardon committed
17
         }
incardon's avatar
incardon committed
18
       }},
incardon's avatar
incardon committed
19 20 21 22 23

"sb15" : {node ('sbalzarini-mac-15')
         {
          deleteDir()
          checkout scm
incardon's avatar
incardon committed
24
          env.PATH = "/usr/local/bin:${env.PATH}"
incardon's avatar
incardon committed
25 26
          stage ('build_sb15')
          {
incardon's avatar
incardon committed
27
           sh "./build.sh $WORKSPACE $NODE_NAME pdata full && make install"
incardon's avatar
incardon committed
28 29 30 31
          }

          stage ('run_example_sb15')
          {
32
           sh "source $HOME/openfpm_vars_master && cd example && make"
incardon's avatar
incardon committed
33 34 35 36 37
	  }
         }
         }
)