s152203-mlworkshops/Jenkinsfile

30 lines
633 B
Plaintext
Raw Normal View History

2020-04-03 11:33:45 +02:00
pipeline {
agent any
stages {
2020-04-03 12:21:32 +02:00
stage('checkout'){
steps {
2020-04-03 12:25:42 +02:00
git url: 'https://git.wmi.amu.edu.pl/s152203/s152203-mlworkshops'
2020-04-03 12:21:32 +02:00
echo 'Check out from version control'
}
}
2020-04-03 11:33:45 +02:00
stage('Hello') {
steps {
echo 'Hello World'
}
2020-04-03 12:43:43 +02:00
}
2020-04-03 12:47:45 +02:00
2020-04-03 12:42:18 +02:00
stage('Copy artifacts'){
steps{
2020-04-03 12:54:59 +02:00
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2020-04-03 12:42:18 +02:00
}
}
2020-04-03 12:54:59 +02:00
stage('Shell script'){
steps{
2020-04-03 13:06:06 +02:00
sh chmod +x './script.sh'
2020-04-03 12:54:59 +02:00
}
}
2020-04-03 11:33:45 +02:00
}
}