Debian Codegraph @

tools/ci/inria/Risc-V/Jenkinsfile

raw
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 Risc-V job on Inria's CI */
17
18 pipeline {
19 agent { label 'olive' }
20 options {
21 timeout(time: 3, unit: 'HOURS')
22 }
23 stages {
24 stage('Verifying that OCaml commpiles on a Risc-V virtual machine') {
25 steps {
26 sh 'ssh -p 10000 riscv@localhost GIT_COMMIT=${GIT_COMMIT} ' +
27 'flambda=false /home/riscv/run-ci'
28 }
29 }
30 }
31 post {
32 regression {
33 emailext (
34 to: '[email protected]',
35 subject: 'Job $JOB_NAME $BUILD_STATUS (build #$BUILD_NUMBER)',
36 body: 'Changes since the last successful build:\n\n' +
37 '${CHANGES, format="%r %a %m"}\n\n' +
38 'See the attached build log or check console output here:\n' +
39 '$BUILD_URL\n',
40 /* recipientProviders: [[$class: 'DevelopersRecipientProvider']], */
41 attachLog: true
42 )
43 }
44 }
45 }