2022-04-03 23:47:08 +02:00
|
|
|
node {
|
2022-04-04 00:11:09 +02:00
|
|
|
stage('Copying artifacts') {
|
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's478841-create-dataset', selector: lastSuccessful()
|
|
|
|
}
|
2022-04-03 23:56:26 +02:00
|
|
|
docker.image('s478841-image:latest').inside('--name stats_giver') {
|
2022-04-03 23:50:50 +02:00
|
|
|
stage('Data stats in container') {
|
2022-04-04 00:11:09 +02:00
|
|
|
sh 'ls -al'
|
2022-04-04 00:14:03 +02:00
|
|
|
sh 'chmod +x ./scripts/data_stats.sh'
|
2022-04-04 00:11:09 +02:00
|
|
|
sh './scripts/data_stats.sh'
|
2022-04-03 23:32:52 +02:00
|
|
|
}
|
2022-04-04 00:16:14 +02:00
|
|
|
|
|
|
|
stage('Archive artifacts') {
|
|
|
|
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false
|
|
|
|
}
|
2022-04-03 23:32:52 +02:00
|
|
|
}
|
|
|
|
}
|