s442639-mlworkshops/Jenkinsfile

15 lines
523 B
Groovy

node {
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s442639/s442639-mlworkshops.git']]])
def docker_image = docker.build("the_docker_image")
docker_image.inside{
sh label: '', script: './script.sh'
}
archiveArtifacts 'output'
sh 'ls -l'
sh 'cat output'
}