Fix the Jenkinsfile.

This commit is contained in:
Username404-59 2021-03-24 16:55:09 +01:00
parent a9d6b3402d
commit e0112a367a
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -2,9 +2,7 @@ pipeline { // Multi-branch pipeline script for Yerbacon.
agent any
options {
if (env.BRANCH_NAME != 'stable') {
buildDiscarder(logRotator(numToKeepStr: '12', artifactNumToKeepStr: '14'))
}
buildDiscarder(logRotator(numToKeepStr: '12', artifactNumToKeepStr: '14'))
sidebarLinks([
[displayName: 'Gitea Repository', iconFileName: '/userContent/Yerbacon.png', urlName: 'https://gits.username404.fr/Username404-59/Yerbacon/src/branch/' + env.BRANCH_NAME]
])