fix Jenkinsfile_stats
This commit is contained in:
parent
f67b67fad8
commit
8aa57a2dd4
@ -14,10 +14,8 @@ node {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's425850-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||
}
|
||||
stage('Script') {
|
||||
withEnv() {
|
||||
sh 'chmod u+x ./get_stats.sh'
|
||||
sh './get_stats.sh'
|
||||
}
|
||||
sh '''wc -l books_edited.csv > stats.txt
|
||||
'''
|
||||
}
|
||||
stage('Archive artifacts') {
|
||||
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false
|
||||
|
Loading…
Reference in New Issue
Block a user