38 lines
644 B
Groovy
38 lines
644 B
Groovy
pipeline {
|
|
agent any
|
|
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'
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
post {
|
|
always {
|
|
junit 'build/reports/out.txt'
|
|
}
|
|
}
|
|
}
|
|
|
|
|