From 18a7a6f55b1f5a2e45d6bb559ee43456545f33fb Mon Sep 17 00:00:00 2001 From: ashirali12 <114212324+ashirali12@users.noreply.github.com> Date: Fri, 23 Sep 2022 11:32:01 +0500 Subject: [PATCH 1/2] Update Jenkinsfile-1 --- Jenkinsfile-1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +} From a4eb835aa8ae264c3f580735a8282be965e7a3d2 Mon Sep 17 00:00:00 2001 From: ashirali12 <114212324+ashirali12@users.noreply.github.com> Date: Fri, 23 Sep 2022 12:57:19 +0500 Subject: [PATCH 2/2] Update Jenkinsfile-2 --- Jenkinsfile-2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}