ium_s487182/Jenkinsfile-Docker

18 lines
281 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'
}
}
}
}