s426274-mlworkshops/Jenkinsfile

42 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2020-04-03 16:17:28 +02:00
pipeline {
2020-04-21 22:13:40 +02:00
agent { dockerfile true }
stages {
2020-04-21 21:55:57 +02:00
stage('checkoutGit') {
2020-04-03 16:17:28 +02:00
steps {
2020-04-21 21:55:57 +02:00
git 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops'
2020-04-03 16:17:28 +02:00
}
}
2020-04-21 21:52:38 +02:00
stage('copyArtifacts') {
2020-04-21 21:55:57 +02:00
steps {
2020-04-21 22:13:40 +02:00
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
2020-04-21 21:55:57 +02:00
}
}
stage('countLines') {
steps {
2020-04-21 22:14:59 +02:00
sh 'chmod 777 ./script.sh'
sh './script.sh'
2020-04-21 21:55:57 +02:00
}
}
stage('archiveArtifacts') {
steps {
2020-04-21 23:27:14 +02:00
archiveArtifacts 'CountResult.txt'
2020-04-21 23:32:46 +02:00
archiveArtifacts 'wyniki'
archiveArtifacts 'reference.txt'
archiveArtifacts 'hypothesis.trn'
archiveArtifacts 'hypothesis.txt'
archiveArtifacts 'reference.txt'
2020-04-22 00:24:54 +02:00
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
2020-04-22 01:38:39 +02:00
archiveArtifacts 'werAll.txt'
2020-04-21 21:55:57 +02:00
}
}
2020-04-22 00:33:12 +02:00
stage('Build plots')
{
steps {
build 'Wojciech Ufnowski-plots'
}
}
2020-04-21 20:44:36 +02:00
}
2020-04-21 21:55:57 +02:00
}
2020-04-21 21:44:52 +02:00