s452088-mlworkshops/Jenkinsfile
Krzysztof Jurkiewicz 5579081f7b awk in dockerfile
2019-04-26 14:34:55 +02:00

19 lines
742 B
Groovy

node {
sh 'echo hello world'
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/s452088/s452088-mlworkshops.git']]])
sh label: '', script: 'chmod +x metrics_local.sh'
sh label: '', script: './metrics_local.sh'
archive 'wyniki.out'
def customImage = docker.build("my-custom-image")
customImage.inside {
sh 'ls -l'
sh 'chmod +x metrics_docker.sh'
sh './metrics_docker.sh'
sh 'ls -l'
}
archive '*'
sh label: '', script: 'ls -l'
}