s404686-mlworkshops/Jenkinsfile

18 lines
770 B
Plaintext
Raw Permalink Normal View History

2019-04-26 10:47:50 +02:00
pipeline {
2019-04-26 12:20:00 +02:00
agent {dockerfile true}
2019-04-26 10:47:50 +02:00
stages {
2019-04-26 12:12:37 +02:00
stage('Jenkins') {
2019-04-26 10:47:50 +02:00
steps {
2019-04-26 11:04:16 +02:00
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
sh 'ls -l'
2019-04-26 11:09:54 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s404686/s404686-mlworkshops']]])
sh 'chmod 755 ./metrics.sh'
sh './metrics.sh'
2019-04-26 11:32:59 +02:00
archiveArtifacts 'output.txt'
2019-04-26 13:21:02 +02:00
sh 'chmod 755 ./wer.sh'
2019-04-26 13:20:03 +02:00
sh './wer.sh'
2019-04-26 10:47:50 +02:00
}
}
}
}