2022-04-27 19:49:15 +02:00
|
|
|
pipeline {
|
|
|
|
agent {
|
|
|
|
dockerfile true
|
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('Stage 1') {
|
|
|
|
steps {
|
|
|
|
copyArtifacts filter: 'data.csv', fingerprintArtifacts: true, projectName: 's444386-create-dataset', selector: lastSuccessful()
|
2022-04-27 19:54:10 +02:00
|
|
|
sh 'chmod u+x ./biblioteki_dl.py'
|
|
|
|
sh 'python3 biblioteki_dl.py'
|
2022-04-27 20:06:38 +02:00
|
|
|
sh 'tar -czf model.tar.gz model/'
|
|
|
|
archiveArtifacts 'model.tar.gz'
|
2022-04-27 21:06:37 +02:00
|
|
|
archiveArtifacts 'xtest.csv'
|
|
|
|
archiveArtifacts 'ytest.csv'
|
2022-04-27 19:49:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|