You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2018/10/28 03:20:58 UTC

[mesos] branch master updated: Added Jenkinsfile for Mesos mini.

This is an automated email from the ASF dual-hosted git repository.

jieyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 4e4e6b9  Added Jenkinsfile for Mesos mini.
4e4e6b9 is described below

commit 4e4e6b93e0df5aa19e166fd107b6e01db999e4f5
Author: Jie Yu <yu...@gmail.com>
AuthorDate: Sat Oct 27 20:20:45 2018 -0700

    Added Jenkinsfile for Mesos mini.
---
 support/jenkins/Jenkinsfile-mini | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/support/jenkins/Jenkinsfile-mini b/support/jenkins/Jenkinsfile-mini
new file mode 100644
index 0000000..6790d89
--- /dev/null
+++ b/support/jenkins/Jenkinsfile-mini
@@ -0,0 +1,17 @@
+#!groovy
+
+if (env.NODE_LABELS == null) {
+  env.NODE_LABELS = "(ubuntu)&&(!ubuntu-us1)&&(!ubuntu-eu2)&&(!qnode3)&&(!H23)"
+}
+
+node(env.NODE_LABELS) {
+  checkout scm
+
+  withCredentials([[
+    $class: 'UsernamePasswordMultiBinding',
+    credentialsId: 'mesos-docker-bot',
+    usernameVariable: 'USERNAME',
+    passwordVariable: 'PASSWORD']]) {
+    sh("support/jenkins/mini.sh")
+  }
+}