change jenkinsfile

This commit is contained in:
dylodylo 2020-04-03 12:52:31 +02:00
parent 35a8f38ecb
commit fc25069928
2 changed files with 15 additions and 0 deletions

14
Jenkinsfile vendored
View File

@ -15,6 +15,20 @@ pipeline {
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage("RunScript")
{
steps{
sh label:"", script:"./count.sh"
}
}
stage("Result")
{
steps{
archiveArtifacts 'result.txt'
}
}
stage('Hello') {
steps {
echo 'Hello World'

1
count.sh Normal file
View File

@ -0,0 +1 @@
wc -l wikinews_results.txt > result.txt