From 35907f016b658e058584d18642d55d05315ae00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Zar=C4=99ba?= Date: Mon, 27 Mar 2023 21:33:08 +0200 Subject: [PATCH] t --- Jenkinsfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b1a337f..bae7471 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,4 @@ node { - stage('Preparation') { properties([ parameters([ @@ -32,8 +31,6 @@ node { echo "Processed Data" > output.txt cat processed_data.txt >> output.txt - - archiveArtifacts 'output.txt' ''' } } @@ -44,7 +41,11 @@ node { stage('End') { echo 'Program ended!' - - archiveArtifacts 'output.txt' + } + + post { + always { + archiveArtifacts 'output.txt' + } } } \ No newline at end of file