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 05:33:33 UTC

[mesos] 07/10: Added Jenkinsfile for Mesos mini.

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

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

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

    Added Jenkinsfile for Mesos mini.
    
    (cherry picked from commit 4e4e6b93e0df5aa19e166fd107b6e01db999e4f5)
---
 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")
+  }
+}