Update 'Jenkinsfile'

This commit is contained in:
Patryk Gałka 2023-04-18 19:46:24 +02:00
parent 95c7c61e89
commit 042e5ea0f3

24
Jenkinsfile vendored
View File

@ -31,14 +31,7 @@ pipeline {
} }
} }
stage('Goodbye!') {
steps {
echo 'Goodbye!'
//Zarchiwizuj wynik
archiveArtifacts 'output.txt'
archiveArtifacts 'ls.txt'
}
}
stage('Build') { stage('Build') {
steps { steps {
// Run the maven build // Run the maven build
@ -48,8 +41,19 @@ pipeline {
sh 'ls -a | tee ls.txt' sh 'ls -a | tee ls.txt'
sh 'unzip video-game-sales-with-ratings.zip -d data' sh 'unzip video-game-sales-with-ratings.zip -d data'
sh 'rm video-game-sales-with-ratings.zip' sh 'rm video-game-sales-with-ratings.zip'
sh 'ls -a data/ | tee ls.txt' sh 'ls -a data/ | tee dataset.txt'
} }
}
}
stage('Goodbye!') {
steps {
echo 'Goodbye!'
//Zarchiwizuj wynik
archiveArtifacts 'output.txt'
archiveArtifacts 'ls.txt'
archiveArtifacts 'dataset.txt'
} }
} }
} }