2020-04-03 11:21:41 +02:00
|
|
|
pipeline {
|
2020-04-03 13:25:09 +02:00
|
|
|
agent { dockerfile true }
|
2020-04-03 11:21:41 +02:00
|
|
|
|
|
|
|
stages {
|
2020-04-03 12:37:18 +02:00
|
|
|
stage('Githubcheck')
|
|
|
|
{
|
|
|
|
steps{
|
|
|
|
git 'https://git.wmi.amu.edu.pl/s460929/s460929-mlworkshops.git'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
stage("CopyArtifacts")
|
|
|
|
{
|
|
|
|
steps{
|
2020-04-10 16:45:04 +02:00
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
2020-04-10 18:51:22 +02:00
|
|
|
copyArtifacts filter: 'srr_results.txt wer_resulsts.txt', fingerprintArtifacts: true, projectName: 's460929-metrics', optional: true, selector: lastSuccessful()
|
2020-04-03 12:37:18 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-03 12:52:31 +02:00
|
|
|
|
2020-04-10 14:22:22 +02:00
|
|
|
stage("Script")
|
2020-04-03 12:52:31 +02:00
|
|
|
{
|
|
|
|
steps{
|
2020-04-03 12:55:24 +02:00
|
|
|
sh label:"", script:"bash ./count.sh"
|
2020-04-03 12:52:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-04 15:24:01 +02:00
|
|
|
stage("PythonScript")
|
|
|
|
{
|
|
|
|
steps{
|
|
|
|
sh label: '', script: 'python script.py'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-03 12:52:31 +02:00
|
|
|
stage("Result")
|
|
|
|
{
|
|
|
|
steps{
|
2020-04-10 18:51:22 +02:00
|
|
|
archiveArtifacts 'srr_results.txt'
|
|
|
|
archiveArtifacts 'wer_results.txt'
|
2020-04-04 15:24:01 +02:00
|
|
|
archiveArtifacts 'newresults.tsv'
|
2020-04-10 16:17:33 +02:00
|
|
|
archiveArtifacts 'hypothesis.trn'
|
|
|
|
archiveArtifacts 'reference.trn'
|
2020-04-03 12:52:31 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-03 11:21:41 +02:00
|
|
|
stage('Hello') {
|
|
|
|
steps {
|
|
|
|
echo 'Hello World'
|
2020-04-03 12:18:45 +02:00
|
|
|
// sh label:'', script: 'whoami'
|
|
|
|
|
2020-04-03 11:21:41 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-10 14:22:22 +02:00
|
|
|
|
|
|
|
stage("Build Metrics")
|
|
|
|
{
|
|
|
|
steps
|
|
|
|
{
|
|
|
|
build 's460929-plots'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-03 11:21:41 +02:00
|
|
|
}
|
|
|
|
}
|