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