This commit is contained in:
s495716 2024-03-29 19:06:21 +01:00
parent 51a5025938
commit d0c7f251bc

29
stats/Jenkinsfile vendored
View File

@ -1,24 +1,9 @@
pipeline { node {
agent { checkout scm
docker { docker.image('jvncziii/ium:latest').withRun('') { c->
image 'jvncziii/ium:latest' copyArtifacts filter:'train.csv', fingerprintArtifacts: true, projectName: 'z-s495716-create-dataset', selector: buildParameter('BUILD_SELECTOR')
} sh 'chmod 777 stats/data_stats.sh'
} sh './stats/data_stats.sh'
parameters { archiveArtifacts artifacts: 'train_lines.txt', followSymlinks: false
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR'
)
}
stages {
stage('Dataset statistics') {
steps {
copyArtifacts filter:'train.csv', fingerprintArtifacts: true, projectName: 'z-s495716-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh 'chmod 777 stats/data_stats.sh'
sh './stats/data_stats.sh'
archiveArtifacts artifacts: 'train_lines.txt', followSymlinks: false
}
}
} }
} }