Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2019-07-30 22:14:02 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2019-07-30 22:14:02 +0300
commitce1653b08a852d8c4b4774b861853e5aeff548a5 (patch)
tree9421969b09ad1b66383118ea495138943deb6771 /scripts
parentee636ee8d9183c437e536bf2e7c8458a4db48b57 (diff)
[sdks] Don't keep per-commit master builds in CI
We only want the daily builds.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ci/pipeline/sdks-archive.groovy6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/ci/pipeline/sdks-archive.groovy b/scripts/ci/pipeline/sdks-archive.groovy
index 997a0cfdc1b..0b03cf55cae 100644
--- a/scripts/ci/pipeline/sdks-archive.groovy
+++ b/scripts/ci/pipeline/sdks-archive.groovy
@@ -6,7 +6,8 @@ azureContainerName = (xcode11 ? "mono-sdks-xcode11" : "mono-sdks")
if (monoBranch == 'master') {
properties([ /* compressBuildLog() */ // compression is incompatible with JEP-210 right now
- pipelineTriggers([cron('0 3 * * *')])
+ pipelineTriggers([cron('0 3 * * *')]),
+ buildDiscarder(logRotator(numToKeepStr: '0')) // delete skipped builds
])
// multi-branch pipelines still get triggered for each commit, skip these builds on master by checking whether this build was timer-triggered
@@ -14,6 +15,9 @@ if (monoBranch == 'master') {
echo "Skipping per-commit build on master."
return
}
+
+ // make sure this build isn't deleted by logRotator
+ currentBuild.setKeepLog(true)
}
parallel (