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')
|
copyArtifacts fingerprintArtifacts: true, projectName: 's425850-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
}
|
}
|
||||||
stage('Script') {
|
stage('Script') {
|
||||||
withEnv() {
|
sh '''wc -l books_edited.csv > stats.txt
|
||||||
sh 'chmod u+x ./get_stats.sh'
|
'''
|
||||||
sh './get_stats.sh'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
stage('Archive artifacts') {
|
stage('Archive artifacts') {
|
||||||
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false
|
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false
|
||||||
|
Loading…
Reference in New Issue
Block a user