Jenkinsfile_mpi_examples_test 839 Bytes
Newer Older
incardon's avatar
incardon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#!groovy

parallel (

"gin" : {node ('gin')
        {
         deleteDir()
         checkout scm
         stage ('build_gin')
         {
          sh "./build.sh $WORKSPACE $NODE_NAME pdata full  && make install"
         }

         stage ('run_example_gin')
         {
          sh "export PATH=\"/usr/local/binutils/bin/:$PATH\" && source $HOME/openfpm_vars_master && cd example && make"
         }
       }},

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

          stage ('run_example_sb15')
          {
           sh "source $HOME/openfpm_vars_master && cd example && make"
	  }
         }
         }
)