| 1 |
/**************************************************************************/ |
| 2 |
/* */ |
| 3 |
/* OCaml */ |
| 4 |
/* */ |
| 5 |
/* Sebastien Hinderer, INRIA Paris */ |
| 6 |
/* */ |
| 7 |
/* Copyright 2020 Institut National de Recherche en Informatique et */ |
| 8 |
/* en Automatique. */ |
| 9 |
/* */ |
| 10 |
/* All rights reserved. This file is distributed under the terms of */ |
| 11 |
/* the GNU Lesser General Public License version 2.1, with the */ |
| 12 |
/* special exception on linking described in the file LICENSE. */ |
| 13 |
/* */ |
| 14 |
/**************************************************************************/ |
| 15 |
|
| 16 |
/* Pipeline for the dune-build job on Inria's CI */ |
| 17 |
|
| 18 |
pipeline { |
| 19 |
agent { label 'ocaml-linux-64' } |
| 20 |
options { |
| 21 |
timeout(time: 1, unit: 'HOURS') |
| 22 |
} |
| 23 |
stages { |
| 24 |
stage('Building the OCaml compiler with Dune') { |
| 25 |
steps { |
| 26 |
sh 'tools/ci/inria/dune-build/script' |
| 27 |
} |
| 28 |
} |
| 29 |
} |
| 30 |
post { |
| 31 |
regression { |
| 32 |
emailext ( |
| 33 |
to: '[email protected], [email protected]', |
| 34 |
subject: 'Job $JOB_NAME $BUILD_STATUS (build #$BUILD_NUMBER)', |
| 35 |
body: 'Changes since the last successful build:\n\n' + |
| 36 |
'${CHANGES, format="%r %a %m"}\n\n' + |
| 37 |
'See the attached build log or check console output here:\n' + |
| 38 |
'$BUILD_URL\n', |
| 39 |
/* recipientProviders: [[$class: 'DevelopersRecipientProvider']], */ |
| 40 |
attachLog: true |
| 41 |
) |
| 42 |
} |
| 43 |
} |
| 44 |
} |