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:31 UTC
[mesos] 05/10: Added Jenkinsfile for docker centos.
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 ff806b720b1ae0cb349d8ce8a7dcbcc5966b63b0
Author: Jie Yu <yu...@gmail.com>
AuthorDate: Sat Oct 27 19:39:53 2018 -0700
Added Jenkinsfile for docker centos.
(cherry picked from commit 3fc568e2592a5623722563a9d6dba37f94390b7a)
---
support/jenkins/Jenkinsfile-docker-centos | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/support/jenkins/Jenkinsfile-docker-centos b/support/jenkins/Jenkinsfile-docker-centos
new file mode 100644
index 0000000..762462f
--- /dev/null
+++ b/support/jenkins/Jenkinsfile-docker-centos
@@ -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/docker-centos.sh")
+ }
+}