diff --git a/Jenkinsfile b/Jenkinsfile index 4f44ac4..7a58f16 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,14 +31,7 @@ pipeline { } } - stage('Goodbye!') { - steps { - echo 'Goodbye!' - //Zarchiwizuj wynik - archiveArtifacts 'output.txt' - archiveArtifacts 'ls.txt' - } - } + stage('Build') { steps { // Run the maven build @@ -48,9 +41,20 @@ pipeline { sh 'ls -a | tee ls.txt' sh 'unzip video-game-sales-with-ratings.zip -d data' 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' + + } + } } } \ No newline at end of file