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:48 UTC

[mesos] 03/04: Made Bintray RPM upload optional in 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 0b4faee085267ab8b2c232d455f2f7622d85d856
Author: Benno Evers <be...@mesosphere.com>
AuthorDate: Mon Jul 29 15:55:36 2019 +0200

    Made Bintray RPM upload optional in ASF Jenkinsfile.
---
 support/packaging/Jenkinsfile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/support/packaging/Jenkinsfile b/support/packaging/Jenkinsfile
index d2b70ab..680c186 100644
--- a/support/packaging/Jenkinsfile
+++ b/support/packaging/Jenkinsfile
@@ -47,7 +47,9 @@ parallel(centos7: {
     }
 
     archiveArtifacts artifacts: '**/*.rpm', fingerprint: true
-    uploadToBintray('*.rpm')
+    if (params.UPLOAD_TO_BINTRAY == "true") {
+      uploadToBintray('*.rpm')
+    }
   }
 },
 centos6: {
@@ -67,6 +69,8 @@ centos6: {
     }
 
     archiveArtifacts artifacts: '**/*.rpm', fingerprint: true
-    uploadToBintray('*.rpm')
+    if (params.UPLOAD_TO_BINTRAY == "true") {
+      uploadToBintray('*.rpm')
+    }
   }
 })