s452088-mlworkshops/Jenkinsfile

19 lines
742 B
Plaintext
Raw Normal View History

2019-04-26 11:16:15 +02:00
node {
sh 'echo hello world'
2019-04-26 11:18:35 +02:00
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2019-04-26 11:22:57 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452088/s452088-mlworkshops.git']]])
2019-04-26 13:12:09 +02:00
sh label: '', script: 'chmod +x metrics_local.sh'
sh label: '', script: './metrics_local.sh'
archive 'wyniki.out'
2019-04-26 12:27:13 +02:00
def customImage = docker.build("my-custom-image")
customImage.inside {
2019-04-26 13:04:44 +02:00
sh 'ls -l'
2019-04-26 13:28:44 +02:00
sh 'chmod +x metrics_docker.sh'
sh './metrics_docker.sh'
2019-04-26 14:34:55 +02:00
sh 'ls -l'
2019-04-26 13:17:41 +02:00
}
2019-04-26 14:21:06 +02:00
archive '*'
2019-04-26 14:34:55 +02:00
sh label: '', script: 'ls -l'
2019-04-26 11:09:39 +02:00
}