s460929-mlworkshops/Jenkinsfile

42 lines
841 B
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-03 12:52:31 +02:00
2020-04-03 14:48:26 +02:00
stage("RunScript")
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
}
}
stage("Result")
{
steps{
2020-04-03 14:44:38 +02:00
archiveArtifacts 'srr.txt'
archiveArtifacts 'wer.txt'
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
}
}
}
}