diff --git a/Jenkinsfile-1 b/Jenkinsfile-1 index 4edf935f..e79425b8 100644 --- a/Jenkinsfile-1 +++ b/Jenkinsfile-1 @@ -1,5 +1,5 @@ pipeline { - agent { label 'linux' } + agent any options { buildDiscarder(logRotator(numToKeepStr: '5')) } @@ -12,4 +12,4 @@ pipeline { } } } -} \ No newline at end of file +} diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index cf293943..ec7579bc 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -1,5 +1,5 @@ pipeline { - agent { label 'linux' } + agent any options { buildDiscarder(logRotator(numToKeepStr: '5')) } @@ -19,4 +19,4 @@ pipeline { } } } -} \ No newline at end of file +}