s460929-mlworkshops/Jenkinsfile

60 lines
1.3 KiB
Plaintext
Raw Normal View History

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{
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2020-04-10 14:31:51 +02:00
copyArtifacts filter: 'srr.txt wer.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-03 14:44:38 +02:00
archiveArtifacts 'srr.txt'
archiveArtifacts 'wer.txt'
2020-04-04 15:24:01 +02:00
archiveArtifacts 'newresults.tsv'
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
}
}