ium_s487182/Jenkinsfile-Docker

19 lines
345 B
Plaintext

pipeline {
agent any
stages {
stage('Build Image') {
steps {
sh 'docker build -t wujt -f Dockerfile .'
}
}
stage('Test') {
steps {
sh 'ls -l'
sh 'docker run wujt python3 create_dataset.py 89'
archiveArtifacts artifacts: 'waterQuality.csv'
}
}
}
}