44 lines
917 B
Groovy
44 lines
917 B
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
stages
|
|
{
|
|
|
|
stage('Git')
|
|
{
|
|
steps {
|
|
git 'https://git.wmi.amu.edu.pl/s460941/s460941-metrics.git'
|
|
}
|
|
}
|
|
|
|
|
|
stage('CopyArtifacts')
|
|
{
|
|
steps {
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
archiveArtifacts 'wikiniews_results.tsv'
|
|
}
|
|
}
|
|
stage('Shell Script')
|
|
{
|
|
steps {
|
|
sh('chmod +x ./count.sh')
|
|
sh('./count.sh')
|
|
archiveArtifacts 'lines_number.txt'
|
|
archiveArtifacts 'wer_results.txt'
|
|
archiveArtifacts 'wer.txt'
|
|
archiveArtifacts 'srr.txt'
|
|
}
|
|
}
|
|
stage('Plot')
|
|
{
|
|
steps{
|
|
sh('chmod +x ./plot.py')
|
|
sh 'python plot.py'
|
|
archiveArtifacts 'wx.png'
|
|
archiveArtifacts 'sx.png'
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|