From 6ed294bb9a09ce8d63743951ae03b535eaeff4f1 Mon Sep 17 00:00:00 2001 From: Martin Nowak Date: Sun, 26 Feb 2017 17:38:25 +0100 Subject: [PATCH] adding Jenkinsfile to hook with new ci2.dawg.eu instance - should transfer the ownership of the ci repo to dlang/ci --- Jenkinsfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..eb9fbdedab --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +#!/bin/env groovy + +def clone (repo_url, git_ref = "master") { + checkout( + poll: false, + scm: [ + $class: 'GitSCM', + branches: [[name: git_ref]], + extensions: [[$class: 'CleanBeforeCheckout']], + userRemoteConfigs: [[url: repo_url]] + ] + ) +} + +node { + dir('dlang/ci') { + clone 'https://github.com/Dicebot/dlangci.git' + } + load 'dlang/ci/pipeline.groovy' +}