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') {
copyArtifacts fingerprintArtifacts: true, projectName: 's425850-create-dataset', selector: buildParameter('BUILD_SELECTOR')
}
withEnv() {
sh 'chmod u+x ./get_stats.sh'
sh './get_stats.sh'
stage('Script') {
withEnv() {
sh 'chmod u+x ./get_stats.sh'
sh './get_stats.sh'
}
}
stage('Archive artifacts') {
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false