s407254-mlworkshops/Jenkinsfile
2019-05-16 12:56:06 +02:00

41 lines
743 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 'ASR-eval',
target: 'Infra']);
}
}
}
stage('Git checkout') {
steps{
sh 'git checkout'
}
}
stage('Run script') {
steps{
sh 'sh script.sh text.txt out.txt'
archiveArtifacts artifacts: 'out.txt'
}
}
stage('Docker Test') {
steps {
sh 'git --version'
}
}
}
}