You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2019/07/29 14:29:49 UTC

[mesos] 04/04: Added node label restriction to ASF Jenkinsfile.

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

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

commit 0f660b774dcc19c9386fc3a500bbb8077ae117a4
Author: Benno Evers <be...@mesosphere.com>
AuthorDate: Mon Jul 29 16:05:29 2019 +0200

    Added node label restriction to ASF Jenkinsfile.
    
    The Jenkins pipeline definition did not restrict the
    possible node labels on which the build steps could be
    executed, leading to sporadic build failures when the
    job would be run on a Windows machine.
    
    The ASF Infra team suggested 'ubuntu' as the most appropriate
    label for this job.
---
 support/packaging/Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/support/packaging/Jenkinsfile b/support/packaging/Jenkinsfile
index 680c186..9ef8ae8 100644
--- a/support/packaging/Jenkinsfile
+++ b/support/packaging/Jenkinsfile
@@ -31,7 +31,7 @@ def uploadToBintray(def pattern) {
 }
 
 parallel(centos7: {
-  node {
+  node('ubuntu') {
     checkout scm
 
     def img
@@ -53,7 +53,7 @@ parallel(centos7: {
   }
 },
 centos6: {
-  node {
+  node('ubuntu') {
     checkout scm
 
     def img