Commit d3c0e990 authored by Simon Brass's avatar Simon Brass
Browse files

[OCaml] add prefix

parent 3b2739d8
......@@ -20,6 +20,9 @@
THE SOFTWARE.
*/
String prefix = "${env.JENKINS_HOME}/usr/local/ocaml-"
String prefix_symbolic = "${prefix}/ocaml-LATEST"
String email_to = ""
if (getBinding().hasVariable("EMAIL_TO")) {
email_to = EMAIL_TO
......@@ -33,6 +36,13 @@ node('master') {
try {
stage 'Checkout'
checkout scm
sh 'git rev-parse --short HEAD | GIT_HEAD'
commit = readFile('GIT_HEAD')
prefix = "${prefix}${commit}"
echo "${prefix}"
// stage 'Configure'
// sh './configure '
// stage 'Test'
// env.NODE_ENV = "test"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment