s407259-mlworkshops/Jenkinsfile

28 lines
632 B
Plaintext
Raw Normal View History

2019-04-26 11:01:34 +02:00
pipeline {
2019-04-26 12:20:08 +02:00
agent { dockerfile true }
2019-04-26 11:01:34 +02:00
stages {
stage('Copy Archive') {
steps {
2019-04-26 12:31:00 +02:00
sh 'git --version'
2019-04-26 12:23:35 +02:00
sh 'svn --version'
2019-04-26 11:01:34 +02:00
script {
step ([$class: 'CopyArtifact',
projectName: 'ASR-eval',
target: 'Infra']);
}
2019-04-26 11:30:14 +02:00
sh 'git checkout'
2019-04-26 11:23:49 +02:00
sh 'python3 script.py'
2019-04-26 12:17:38 +02:00
sh 'pip3 install pandas'
2019-04-26 11:43:27 +02:00
archiveArtifacts artifacts: 'num_lines.txt'
2019-04-26 12:13:44 +02:00
sh 'python3 calculate_metrics.py'
2019-04-26 12:23:35 +02:00
2019-04-26 12:13:44 +02:00
2019-04-26 11:00:51 +02:00
}
}
2019-04-26 11:01:34 +02:00
}
}