Update 'Jenkinsfile-Docker'
This commit is contained in:
parent
df5357c0ea
commit
72692b5590
@ -5,13 +5,14 @@ agent any
|
||||
stages {
|
||||
stage('Build Image') {
|
||||
steps {
|
||||
sh 'docker build --no-cache -t wujt -f Dockerfile .'
|
||||
sh 'docker build -t wujt -f Dockerfile .'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'ls -l'
|
||||
sh 'docker run wujt python3 create_dataset.py'
|
||||
sh 'docker run wujt python3 create_dataset.py 89'
|
||||
archiveArtifacts artifacts: 'waterQuality.csv'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user