Skip to content

Commit 61c619a

Browse files
committed
public_nightly is not a multibranch pipeline
Signed-off-by: Sombrio <[email protected]>
1 parent 46474e9 commit 61c619a

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

jenkins/public_nightly.Jenkinsfile

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,7 @@
22

33
node {
44

5-
def isDefaultBranch = (env.BRANCH_NAME == 'master')
6-
def daysToKeep = (isDefaultBranch ? '30' : '-1');
7-
def numToKeep = (isDefaultBranch ? '-1' : '10');
8-
9-
properties([
10-
copyArtifactPermission('${JOB_NAME},'+env.BRANCH_NAME),
11-
12-
buildDiscarder(logRotator(
13-
daysToKeepStr: daysToKeep,
14-
artifactDaysToKeepStr: daysToKeep,
15-
16-
numToKeepStr: numToKeep,
17-
artifactNumToKeepStr: numToKeep
18-
))
19-
]);
5+
properties([copyArtifactPermission('${JOB_NAME},'+env.BRANCH_NAME)]);
206

217
stage('Checkout ORFS') {
228
checkout([

0 commit comments

Comments
 (0)