We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46474e9 commit 61c619aCopy full SHA for 61c619a
jenkins/public_nightly.Jenkinsfile
@@ -2,21 +2,7 @@
2
3
node {
4
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
- ]);
+ properties([copyArtifactPermission('${JOB_NAME},'+env.BRANCH_NAME)]);
20
21
stage('Checkout ORFS') {
22
checkout([
0 commit comments