message: Fix Jenkins for OpenCL
diff: @@ -91,15 +91,12 @@ pipeline {
  warnings consoleParsers: [[parserName: 'Clang (LLVM based)']], failedTotalAll: '0', usePreviousBuildAsReference: false, canRunOnFailed: true
  deleteDir()
  }
  - success { script { utils.mailBuildResults("SUCCESSFUL") } }
  - unstable { script { utils.mailBuildResults("UNSTABLE", "stan-buildbot@googlegroups.com") } }
  - failure { script { utils.mailBuildResults("FAILURE", "stan-buildbot@googlegroups.com") } }
  }
  }
  stage('Non-windows interface tests with OpenCL') {
  agent { label 'gpu' }
  steps {
  - sh "echo CXX=${env.CXX} -Werror >> make/local"
  + setupCXX()
  sh "echo STAN_OPENCL=true>> make/local"
  sh "echo OPENCL_PLATFORM_ID=0>> make/local"
  sh "echo OPENCL_DEVICE_ID=${OPENCL_DEVICE_ID}>> make/local"
  @@ -107,17 +104,18 @@ pipeline {
  }
  post {
  always {
  - archiveArtifacts 'build-opencl.log'
  warnings consoleParsers: [[parserName: 'GNU C Compiler 4 (gcc)']], failedTotalAll: '0', usePreviousBuildAsReference: false, canRunOnFailed: true
  warnings consoleParsers: [[parserName: 'Clang (LLVM based)']], failedTotalAll: '0', usePreviousBuildAsReference: false, canRunOnFailed: true
  deleteDir()
  }
  - success { script { utils.mailBuildResults("SUCCESSFUL") } }
  - unstable { script { utils.mailBuildResults("UNSTABLE", "stan-buildbot@googlegroups.com") } }
  - failure { script { utils.mailBuildResults("FAILURE", "stan-buildbot@googlegroups.com") } }
  }
  }
  }
  }
  }
  + post {
  + success { script { utils.mailBuildResults("SUCCESSFUL") } }
  + unstable { script { utils.mailBuildResults("UNSTABLE", "stan-buildbot@googlegroups.com") } }
  + failure { script { utils.mailBuildResults("FAILURE", "stan-buildbot@googlegroups.com") } }
  + }
  }
  