s426274-mlworkshops/Jenkinsfile

34 lines
905 B
Plaintext
Raw Normal View History

2020-04-03 16:17:28 +02:00
pipeline {
agent any
stages {
2020-04-21 16:22:21 +02:00
stage('checkout: Check out from version control') {
2020-04-03 16:17:28 +02:00
steps {
2020-04-21 16:28:30 +02:00
git branch: 'master',
2020-04-21 16:22:21 +02:00
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
2020-04-03 16:17:28 +02:00
}
}
2020-04-21 16:56:38 +02:00
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 'ASR-eval',
filter: "wikiniews_results.tsv",
2020-04-21 19:04:45 +02:00
target: 'wikiniews_results.tsv']);
2020-04-21 16:56:38 +02:00
}
}
}
2020-04-21 19:04:45 +02:00
stage('checkout: Check out from version control') {
steps {
git branch: 'master',
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
}
}
stage('Count lines'){
steps {
sh('chmod +x ./numberOfLines.sh')
sh('./numberOfLines.sh')
}
}
2020-04-03 16:17:28 +02:00
}
}