s152203-mlworkshops/Jenkinsfile
2020-04-03 13:19:19 +02:00

33 lines
790 B
Groovy

pipeline {
agent any
stages {
stage('checkout'){
steps {
git url: 'https://git.wmi.amu.edu.pl/s152203/s152203-mlworkshops'
echo 'Check out from version control'
}
}
stage('Hello') {
steps {
echo 'Hello World'
}
}
stage('Copy artifacts'){
steps{
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage('Shell script'){
steps{
sh 'chmod +x ./script.sh'
sh label: 'ls', script: 'ls'
sh label: 'cat', script: 'cat res.txt'
sh label: 'cat', script: 'cat wikiniews_results.tsv'
}
}
}
}