pipeline { agent any stages { stage('Build Image') { steps { sh 'docker build -t wujt -f Dockerfile .' } } 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' } } stage('Prediction') { steps { sh 'ls -l' sh 'docker run wujt python3 pred.py' sh 'echo predictionResults.txt' } } } }