Jenkinsfile - v.4 + shell_script update

This commit is contained in:
s416122 2020-04-03 13:43:26 +02:00
parent b36f09f4ff
commit 5b3d557ed1
2 changed files with 8 additions and 1 deletions

7
Jenkinsfile vendored
View File

@ -12,5 +12,12 @@ pipeline {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './s416122-mlworkshops'
}
}
stage('sh: Shell Script') {
steps {
sh('chmod +x ./shell_script.sh')
sh('./shell_script.sh wikiniews_results.tsv > result.txt')
}
}
}
}

View File

@ -1,3 +1,3 @@
#!/bin/bash
wc -l > result.log
wc -l $1