From a021dc59ca0972893e93839bbd3a0bad1d01e88b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=8C=AF=E5=AE=87?= <> Date: Tue, 4 Feb 2025 13:22:34 +0800 Subject: [PATCH] refactor(executeFreeleapsPipeline): replace cat command with sleep for improved container behavior MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙振宇 <> --- .../vars/executeFreeleapsPipeline.groovy | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy index eabe7e40..ae296a6b 100644 --- a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy +++ b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy @@ -151,14 +151,9 @@ spec: - name: dep-resolver image: ${env.buildAgentImage} command: - - cat - tty: true - volumeMounts: - - name: workspace - mountPath: /workspace - volumes: - - name: workspace - emptyDir: {} + - sleep + args: + - infinity """ } }