mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ji...@apache.org
Subject [mesos] 08/10: Added Jenkinsfile for building RPMs.
Date Sun, 28 Oct 2018 05:33:34 GMT
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 4a41ffc0543c7984310c392663e3a4fb1cd5a7ea
Author: Jie Yu <yujie.jay@gmail.com>
AuthorDate: Sat Oct 27 21:00:16 2018 -0700

    Added Jenkinsfile for building RPMs.
    
    (cherry picked from commit 2a27b473b996a28eebda639f2f4dc3e00c15a4bb)
---
 support/jenkins/Jenkinsfile-packaging-centos | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/support/jenkins/Jenkinsfile-packaging-centos b/support/jenkins/Jenkinsfile-packaging-centos
new file mode 100644
index 0000000..0ca59b9
--- /dev/null
+++ b/support/jenkins/Jenkinsfile-packaging-centos
@@ -0,0 +1,26 @@
+#!groovy
+
+if (env.NODE_LABELS == null) {
+  env.NODE_LABELS = "(ubuntu)&&(!ubuntu-us1)&&(!ubuntu-eu2)&&(!qnode3)&&(!H23)"
+}
+
+parallel(
+  centos7: {
+    node(env.NODE_LABELS) {
+      checkout scm
+
+      sh("CENTOS_DISTRO=7 support/packaging/centos/build-rpm-docker.sh")
+
+      archiveArtifacts(artifacts: '**/*.rpm', fingerprint: true)
+    }
+  },
+  centos6: {
+    node(env.NODE_LABELS) {
+      checkout scm
+
+      sh("CENTOS_DISTRO=6 support/packaging/centos/build-rpm-docker.sh")
+
+      archiveArtifacts(artifacts: '**/*.rpm', fingerprint: true)
+    }
+  }
+)


Mime
View raw message