ium_s487182/Jenkinsfile-Docker

19 lines
304 B
Plaintext

pipeline {
agent {
agent any
}
stages {
stage('Build Image') {
steps {
sh 'docker build --no-cache -t wujt -Dockerfile'
}
}
stage('Test') {
steps {
sh 'ls -l'
sh 'docker run wujt python3 create_dataset.py'
}
}
}
}