Update 'Jenkinsfile-Docker'

This commit is contained in:
Wojciech Mikołajski 2023-06-17 20:13:39 +02:00
parent 7a4759e8b1
commit 3059d0378b

View File

@ -8,12 +8,25 @@ stages {
sh 'docker build -t wujt -f Dockerfile .'
}
}
stage('Test') {
stage('Create Dataset') {
steps {
sh 'ls -l'
sh 'docker run wujt python3 create_dataset.py 89'
archiveArtifacts artifacts: 'waterQuality.csv'
}
}
stage('Train') {
steps {
sh 'ls -l'
sh 'docker run wujt python3 train.py 89'
}
}
stage('Prediction') {
steps {
sh 'ls -l'
sh 'docker run wujt python3 pred.py 89'
archiveArtifacts artifacts: 'predictionResults1.csv'
}
}
}
}