fix Jenkinsfile_stats
This commit is contained in:
parent
050201639e
commit
f67b67fad8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user