diff options
author | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2020-08-10 15:52:40 +0200 |
---|---|---|
committer | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2020-08-10 15:52:40 +0200 |
commit | a59b147f516050b50fbeb4d55403b94c74bd6da3 (patch) | |
tree | dc216ebf0d55ae2be53be92606a189bd0d60ced0 /tools | |
parent | bc62faec7b6ad50378660cd93e16484d5e3fe8a1 (diff) | |
download | ocaml-a59b147f516050b50fbeb4d55403b94c74bd6da3.tar.gz |
Inria CI: define the dune-build job as a Jenkins pipeline
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ci/inria/dune-build/Jenkinsfile | 41 | ||||
-rwxr-xr-x | tools/ci/inria/dune-build/script (renamed from tools/ci/inria/dune-build) | 0 |
2 files changed, 41 insertions, 0 deletions
diff --git a/tools/ci/inria/dune-build/Jenkinsfile b/tools/ci/inria/dune-build/Jenkinsfile new file mode 100644 index 0000000000..a53a641b43 --- /dev/null +++ b/tools/ci/inria/dune-build/Jenkinsfile @@ -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 + ) + } + } +} diff --git a/tools/ci/inria/dune-build b/tools/ci/inria/dune-build/script index 6c95220a3e..6c95220a3e 100755 --- a/tools/ci/inria/dune-build +++ b/tools/ci/inria/dune-build/script |