diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-07-30 22:14:02 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-07-30 22:14:02 +0300 |
commit | ce1653b08a852d8c4b4774b861853e5aeff548a5 (patch) | |
tree | 9421969b09ad1b66383118ea495138943deb6771 /scripts | |
parent | ee636ee8d9183c437e536bf2e7c8458a4db48b57 (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.groovy | 6 |
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 ( |