s442639-mlworkshops/Jenkinsfile

15 lines
523 B
Plaintext
Raw Normal View History

2019-04-26 10:47:25 +02:00
node {
2019-04-26 12:24:59 +02:00
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']]])
2019-04-26 12:33:05 +02:00
2019-04-26 12:36:38 +02:00
def docker_image = docker.build("the_docker_image")
docker_image.inside{
2019-04-26 13:54:15 +02:00
sh label: '', script: './script.sh'
2019-04-26 12:36:38 +02:00
}
2019-04-26 12:33:05 +02:00
2019-04-26 12:24:59 +02:00
archiveArtifacts 'output'
sh 'ls -l'
sh 'cat output'
2019-04-26 10:47:25 +02:00
}