forked from ocaml/ocaml
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a pipeline to define the bootstrap Jenkins job, take #1
- Loading branch information
Showing
3 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/**************************************************************************/ | ||
/* */ | ||
/* 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 bootstrap job on Inria's CI */ | ||
|
||
/* Make sure the OCaml compiler can still be bootstrapped */ | ||
|
||
pipeline { | ||
agent { label 'ocaml-linux-64' } | ||
stages { | ||
stage('Verifying that the OCaml compiler can be bootstrapped') { | ||
steps { | ||
sh 'tools/ci/inria/bootstrap/script' | ||
} | ||
} | ||
} | ||
post { | ||
always { | ||
emailext ( | ||
to: '[email protected]', | ||
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 | ||
) | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters