s152203-mlworkshops/Jenkinsfile
Yevheniia Tsapkova 5edb8258b8 wer ard srr
2020-04-03 14:53:02 +02:00

42 lines
1004 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('checkout'){
steps {
git url: 'https://git.wmi.amu.edu.pl/s152203/s152203-mlworkshops'
echo 'Check out from version control'
}
}
stage('Copy artifacts'){
steps{
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage('Shell script'){
steps{
sh 'chmod +x script.sh'
sh './script.sh'
sh label: 'cat', script: 'cat res.txt'
echo 'WER and SRR metrics'
}
}
stage('archiveArtifacts'){
steps{
archiveArtifacts 'res.txt'
archiveArtifacts 'script.sh'
archiveArtifacts 'srr.txt'
archiveArtifacts 'wer.txt'
}
}
stage('Dockerfile') {
steps {
sh 'gcc --version'
}
}
}
}