s426274-mlworkshops/Jenkinsfile
2020-04-22 01:38:39 +02:00

43 lines
1.2 KiB
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('checkoutGit') {
steps {
git 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops'
}
}
stage('copyArtifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
}
}
stage('countLines') {
steps {
sh 'chmod 777 ./script.sh'
sh './script.sh'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'CountResult.txt'
archiveArtifacts 'wyniki'
archiveArtifacts 'reference.txt'
archiveArtifacts 'hypothesis.trn'
archiveArtifacts 'hypothesis.txt'
archiveArtifacts 'reference.txt'
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
archiveArtifacts 'wikiniewsResultsWithWer.tsv'
archiveArtifacts 'werAll.txt'
}
}
stage('Build plots')
{
steps {
build 'Wojciech Ufnowski-plots'
}
}
}
}