Skip to content

Commit

Permalink
Delete artifacts older than 7 days (typedb#2130)
Browse files Browse the repository at this point in the history
  • Loading branch information
burukuru authored and aelred committed Sep 22, 2017
1 parent fb2508d commit cc5627a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME == 'stable') {
properties([pipelineTriggers([cron('H H/8 * * *')])])
}
properties([
buildDiscarder(logRotator(numToKeepStr: '30', artifactNumToKeepStr: '7'))
])

node {
//Everything is wrapped in a try catch so we can handle any test failures
//If one test fails then all the others will stop. I.e. we fail fast
Expand Down

0 comments on commit cc5627a

Please sign in to comment.