Inria CI: define the dune-build job as a Jenkins pipeline

master
Sébastien Hinderer 2020-08-10 15:52:40 +02:00
parent bc62faec7b
commit a59b147f51
2 changed files with 41 additions and 0 deletions

41
tools/ci/inria/dune-build/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,41 @@
/**************************************************************************/
/* */
/* OCaml */
/* */
/* Sebastien Hinderer, INRIA Paris */
/* */
/* Copyright 2020 Institut National de Recherche en Informatique et */
/* en Automatique. */
/* */
/* All rights reserved. This file is distributed under the terms of */
/* the GNU Lesser General Public License version 2.1, with the */
/* special exception on linking described in the file LICENSE. */
/* */
/**************************************************************************/
/* Pipeline for the dune-build job on Inria's CI */
pipeline {
agent { label 'ocaml-linux-64' }
stages {
stage('Building the OCaml compiler with Dune') {
steps {
sh 'tools/ci/inria/dune-build/script'
}
}
}
post {
regression {
emailext (
to: 'Sebastien.Hinderer@inria.fr, thomas.refis@gmail.com',
subject: 'Job $JOB_NAME $BUILD_STATUS (build #$BUILD_NUMBER)',
body: 'Changes since the last successful build:\n\n' +
'${CHANGES, format="%r %a %m"}\n\n' +
'See the attached build log or check console output here:\n' +
'$BUILD_URL\n',
/* recipientProviders: [[$class: 'DevelopersRecipientProvider']], */
attachLog: true
)
}
}
}