Fix the Jenkinsfile.
This commit is contained in:
parent
a9d6b3402d
commit
e0112a367a
|
@ -2,9 +2,7 @@ pipeline { // Multi-branch pipeline script for Yerbacon.
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
options {
|
options {
|
||||||
if (env.BRANCH_NAME != 'stable') {
|
|
||||||
buildDiscarder(logRotator(numToKeepStr: '12', artifactNumToKeepStr: '14'))
|
buildDiscarder(logRotator(numToKeepStr: '12', artifactNumToKeepStr: '14'))
|
||||||
}
|
|
||||||
sidebarLinks([
|
sidebarLinks([
|
||||||
[displayName: 'Gitea Repository', iconFileName: '/userContent/Yerbacon.png', urlName: 'https://gits.username404.fr/Username404-59/Yerbacon/src/branch/' + env.BRANCH_NAME]
|
[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