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

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


The following commit(s) were added to refs/heads/master by this push:
     new c0b691b  Cleaned up Jenkins workspace for RPM build job.
c0b691b is described below

commit c0b691be88cd69f9c5b50899cfa73f5d5a55c860
Author: Jie Yu <yujie....@gmail.com>
AuthorDate: Thu Feb 21 14:56:42 2019 -0800

    Cleaned up Jenkins workspace for RPM build job.
    
    So that we don't accidentally upload RPM built from previous jobs.
---
 support/jenkins/Jenkinsfile-packaging-centos | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/support/jenkins/Jenkinsfile-packaging-centos 
b/support/jenkins/Jenkinsfile-packaging-centos
index 0ca59b9..de688f4 100644
--- a/support/jenkins/Jenkinsfile-packaging-centos
+++ b/support/jenkins/Jenkinsfile-packaging-centos
@@ -7,6 +7,8 @@ if (env.NODE_LABELS == null) {
 parallel(
   centos7: {
     node(env.NODE_LABELS) {
+      deleteDir()
+
       checkout scm
 
       sh("CENTOS_DISTRO=7 support/packaging/centos/build-rpm-docker.sh")
@@ -16,6 +18,8 @@ parallel(
   },
   centos6: {
     node(env.NODE_LABELS) {
+      deleteDir()
+
       checkout scm
 
       sh("CENTOS_DISTRO=6 support/packaging/centos/build-rpm-docker.sh")

Reply via email to