Change to keep only 5 artifacts on master and on branches

only 1 artifact.
This commit is contained in:
Karl Heinz Marbaise 2018-12-27 14:17:05 +01:00
parent c6bdafed23
commit 6c4c2e3804
No known key found for this signature in database
GPG Key ID: BF1518E0160788A2
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -17,7 +17,7 @@
* under the License.
*/
properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: env.BRANCH_NAME=='master'?'10':'5'))])
properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: env.BRANCH_NAME=='master'?'5':'1'))])
def buildOs = 'linux'
def buildJdk = '8'