This commit is contained in:
Jakub Zaręba 2023-03-27 21:33:08 +02:00
parent 3539e74928
commit 35907f016b

7
Jenkinsfile vendored
View File

@ -1,5 +1,4 @@
node { node {
stage('Preparation') { stage('Preparation') {
properties([ properties([
parameters([ parameters([
@ -32,8 +31,6 @@ node {
echo "Processed Data" > output.txt echo "Processed Data" > output.txt
cat processed_data.txt >> output.txt cat processed_data.txt >> output.txt
archiveArtifacts 'output.txt'
''' '''
} }
} }
@ -44,7 +41,11 @@ node {
stage('End') { stage('End') {
echo 'Program ended!' echo 'Program ended!'
}
post {
always {
archiveArtifacts 'output.txt' archiveArtifacts 'output.txt'
} }
}
} }