Jenkinsfile 978 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. def FAILURE_STAGE
  2. pipeline {
  3. agent any
  4. stages {
  5. stage('Clone repo') {
  6. steps {
  7. script{
  8. FAILURE_STAGE=env.STAGE_NAME
  9. }
  10. cleanWs()
  11. git credentialsId: 'gitlab', url: 'https://gitlab.seis.exa2pro.iti.gr/exa2pro/starpu.git', branch: 'fpga'
  12. }
  13. }
  14. stage('Build') {
  15. steps {
  16. script{
  17. FAILURE_STAGE=env.STAGE_NAME
  18. }
  19. sh '''
  20. ./autogen.sh
  21. ./configure --prefix=/home/jenkins/.jenkins/workspace/starpu_pipeline_updated/lib --disable-build-examples
  22. make
  23. make install
  24. '''
  25. }
  26. }
  27. stage('Test') {
  28. steps {
  29. script{
  30. FAILURE_STAGE=env.STAGE_NAME
  31. }
  32. sh '''
  33. cd examples/cholesky
  34. ./cholesky.sh
  35. '''
  36. }
  37. }
  38. }
  39. }