Add a timeout to the Jenkinsfile and increase the number of kept builds.
This commit is contained in:
parent
e0112a367a
commit
dfe21742e3
|
@ -2,7 +2,8 @@ pipeline { // Multi-branch pipeline script for Yerbacon.
|
|||
agent any
|
||||
|
||||
options {
|
||||
buildDiscarder(logRotator(numToKeepStr: '12', artifactNumToKeepStr: '14'))
|
||||
buildDiscarder(logRotator(numToKeepStr: '48', artifactNumToKeepStr: '96'))
|
||||
timeout(time: 8, unit: 'MINUTES')
|
||||
sidebarLinks([
|
||||
[displayName: 'Gitea Repository', iconFileName: '/userContent/Yerbacon.png', urlName: 'https://gits.username404.fr/Username404-59/Yerbacon/src/branch/' + env.BRANCH_NAME]
|
||||
])
|
||||
|
|
Loading…
Reference in New Issue