62 lines
1.4 KiB
Groovy
62 lines
1.4 KiB
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
|
|
stages {
|
|
stage('Githubcheck')
|
|
{
|
|
steps{
|
|
git 'https://git.wmi.amu.edu.pl/s460929/s460929-mlworkshops.git'
|
|
}
|
|
}
|
|
|
|
stage("CopyArtifacts")
|
|
{
|
|
steps{
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
copyArtifacts filter: 'srr.txt wer.txt', fingerprintArtifacts: true, projectName: 's460929-metrics', optional: true, selector: lastSuccessful()
|
|
}
|
|
}
|
|
|
|
stage("Script")
|
|
{
|
|
steps{
|
|
sh label:"", script:"bash ./count.sh"
|
|
}
|
|
}
|
|
|
|
stage("PythonScript")
|
|
{
|
|
steps{
|
|
sh label: '', script: 'python script.py'
|
|
}
|
|
}
|
|
|
|
stage("Result")
|
|
{
|
|
steps{
|
|
archiveArtifacts 'srr.txt'
|
|
archiveArtifacts 'wer.txt'
|
|
archiveArtifacts 'newresults.tsv'
|
|
archiveArtifacts 'hypothesis.trn'
|
|
archiveArtifacts 'reference.trn'
|
|
}
|
|
}
|
|
stage('Hello') {
|
|
steps {
|
|
echo 'Hello World'
|
|
// sh label:'', script: 'whoami'
|
|
|
|
}
|
|
}
|
|
|
|
stage("Build Metrics")
|
|
{
|
|
steps
|
|
{
|
|
build 's460929-plots'
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|