2019-04-26 10:36:29 +02:00
|
|
|
pipeline {
|
2019-04-26 12:13:24 +02:00
|
|
|
|
|
|
|
agent {
|
|
|
|
dockerfile true
|
|
|
|
}
|
|
|
|
|
2019-04-26 10:36:29 +02:00
|
|
|
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:10:57 +02:00
|
|
|
archiveArtifacts artifacts: 'out.txt'
|
2019-04-26 11:29:21 +02:00
|
|
|
}
|
|
|
|
}
|
2019-04-26 12:06:55 +02:00
|
|
|
|
2019-04-26 12:13:24 +02:00
|
|
|
stage('Test') {
|
|
|
|
steps {
|
|
|
|
sh 'node --version'
|
|
|
|
sh 'svn --version'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-26 12:06:55 +02:00
|
|
|
}
|
2019-04-26 11:11:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|