s426274-mlworkshops/Jenkinsfile

36 lines
1.1 KiB
Plaintext
Raw 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-21 23:35:04 +02:00
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
archiveArtifacts 'wikinews_results.tsv'
2020-04-21 21:55:57 +02:00
}
}
2020-04-21 20:44:36 +02:00
}
2020-04-21 21:55:57 +02:00
}
2020-04-21 21:44:52 +02:00