ium_452639/stats.jenkinsfile

22 lines
624 B
Plaintext
Raw Normal View History

2023-03-29 01:47:46 +02:00
node {
checkout scm
def local_image = docker.build("local-image")
local_image.inside {
stage('Build') {
2023-03-29 01:47:46 +02:00
checkout([$class: 'GitSCM', branches: [[name: 'ztm']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452639/ium_452639']]])
copyArtifacts filter: 'src/stop_times.train.tsv,src/stop_times.test.tsv,src/stop_times.valid.tsv',
fingerprintArtifacts: true,
projectName: 's452639-create-dataset',
selector: buildParameter('BUILD_SELECTOR'),
target: 'src/'
sh 'cd src; ./stats.py > stats.txt'
2023-03-29 01:52:40 +02:00
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false
}
}
2023-03-29 01:47:46 +02:00
}