Update 'Jenkinsfile'
This commit is contained in:
parent
95c7c61e89
commit
042e5ea0f3
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
@ -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,9 +41,20 @@ 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'
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user