s412146-mlworkshops/Jenkinsfile
Dawid Kubicki 9361b7831d dockerfile
2019-04-26 12:37:59 +02:00

10 lines
528 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/s412146/s412146-mlworkshops.git']]])
sh label: '', script: './script.sh'
archiveArtifacts 'output'
def customImage = docker.build("my-custom-image")
customImage.inside {
sh 'echo works'
}
}