s407254-mlworkshops/Jenkinsfile

33 lines
642 B
Plaintext
Raw Normal View History

2019-04-26 10:36:29 +02:00
pipeline {
agent any
stages {
2019-04-26 11:07:45 +02:00
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 'ASR-eval',
target: 'Infra']);
}
2019-04-26 10:49:02 +02:00
}
}
2019-04-26 11:29:21 +02:00
2019-04-26 12:06:55 +02:00
stage('Git checkout') {
2019-04-26 11:29:21 +02:00
steps{
2019-04-26 11:53:26 +02:00
sh 'git checkout'
2019-04-26 12:06:55 +02:00
}
}
stage('run script') {
steps{
2019-04-26 11:56:29 +02:00
sh 'sh test.sh text.txt out.txt'
2019-04-26 12:08:18 +02:00
archiveArtifacts artifacts: 'output/*.txt', excludes: 'output/*.md'
2019-04-26 11:29:21 +02:00
}
}
2019-04-26 12:06:55 +02:00
}
2019-04-26 11:11:07 +02:00
}