39 lines
732 B
Groovy
39 lines
732 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 test.sh text.txt out.txt'
|
|
archiveArtifacts artifacts: 'out.txt'
|
|
}
|
|
}
|
|
|
|
stage('Test') {
|
|
steps {
|
|
sh 'git --version'
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
|