Add a build discarder and a timeout to the Jenkinsfile.

This commit is contained in:
Username404-59 2021-04-08 22:09:34 +02:00
parent 4b8c4ae165
commit 7575bee975
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 4 additions and 0 deletions

4
Jenkinsfile vendored
View File

@ -1,6 +1,10 @@
pipeline {
agent any
options {
buildDiscarder(logRotator(numToKeepStr: '48', artifactNumToKeepStr: '96'))
timeout(time: 8, unit: 'MINUTES')
}
triggers {
pollSCM('*/10 * * * *')
}