fix Jenkinsfile_stats

This commit is contained in:
Łukasz Koziej 2023-03-29 00:37:24 +02:00
parent 050201639e
commit f67b67fad8

View File

@ -13,9 +13,11 @@ node {
stage('Copy artifacts') { stage('Copy artifacts') {
copyArtifacts fingerprintArtifacts: true, projectName: 's425850-create-dataset', selector: buildParameter('BUILD_SELECTOR') copyArtifacts fingerprintArtifacts: true, projectName: 's425850-create-dataset', selector: buildParameter('BUILD_SELECTOR')
} }
withEnv() { stage('Script') {
sh 'chmod u+x ./get_stats.sh' withEnv() {
sh './get_stats.sh' 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