Update 'Jenkinsfile-Docker'

This commit is contained in:
Wojciech Mikołajski 2023-04-19 20:20:59 +02:00
parent df5357c0ea
commit 72692b5590

View File

@ -5,13 +5,14 @@ agent any
stages { stages {
stage('Build Image') { stage('Build Image') {
steps { steps {
sh 'docker build --no-cache -t wujt -f Dockerfile .' sh 'docker build -t wujt -f Dockerfile .'
} }
} }
stage('Test') { stage('Test') {
steps { steps {
sh 'ls -l' sh 'ls -l'
sh 'docker run wujt python3 create_dataset.py' sh 'docker run wujt python3 create_dataset.py 89'
archiveArtifacts artifacts: 'waterQuality.csv'
} }
} }
} }