[colobot] 69/100: Jenkinsfile: Automatically clean workspace after building pull requests

Didier Raboud odyx at moszumanska.debian.org
Thu Jun 1 18:10:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit 92eb202d5d2327fa6c9a039435171a69d882a210
Author: krzys-h <krzys_h at interia.pl>
Date:   Sun May 21 20:38:11 2017 +0200

    Jenkinsfile: Automatically clean workspace after building pull requests
---
 Jenkinsfile | 6 ++++++
 data        | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 7b93de4..8676dbe 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -54,4 +54,10 @@ node('master') {
         }
         step([$class: 'XUnitBuilder', testTimeMargin: '3000', thresholdMode: 1, thresholds: [[$class: 'FailedThreshold', failureNewThreshold: '', failureThreshold: '', unstableNewThreshold: '', unstableThreshold: '0'], [$class: 'SkippedThreshold', failureNewThreshold: '', failureThreshold: '', unstableNewThreshold: '', unstableThreshold: '']], tools: [[$class: 'GoogleTestType', deleteOutputFiles: true, failIfNotNew: true, pattern: 'build/linux/gtestresults.xml', skipNoTestFiles: false, s [...]
     }
+
+    // Clean workspace after building pull requests
+    // to save disk space on the Jenkins host
+    if (env.BRANCH_NAME.startsWith('PR-')) {
+        cleanWs()
+    }
 }
diff --git a/data b/data
index b325c53..4df6d98 160000
--- a/data
+++ b/data
@@ -1 +1 @@
-Subproject commit b325c53316b0b4ac7fe69597bff69499bee0ef6a
+Subproject commit 4df6d989881d6b00944fbcbe6141f6426dc04e40

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list