From 1b2296cf4c15c911241f67bb50a2ccf675d9ad3a Mon Sep 17 00:00:00 2001 From: eugene Date: Tue, 6 Jun 2023 22:42:52 +0200 Subject: [PATCH] upd j --- Jenkinsfile-lab6_1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile-lab6_1 b/Jenkinsfile-lab6_1 index 1078bae..41cd3e2 100644 --- a/Jenkinsfile-lab6_1 +++ b/Jenkinsfile-lab6_1 @@ -56,7 +56,12 @@ pipeline { sh "chmod u+x script5_4.py" //sh "pip3 show pandas" //sh "python3 script5_3.py | tee output.txt | tar -czf output.tar.gz output.txt" - sh "python3 script5_4.py | tee output.txt" + sh "python3 script5_4.py | tee metrics.txt" + } + } + stage('Archive Output') { + steps { + archiveArtifacts 'metrics.txt' } }