17 lines
533 B
Plaintext
17 lines
533 B
Plaintext
node {
|
|
stage('Copying artifacts') {
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's478841-create-dataset', selector: lastSuccessful()
|
|
}
|
|
docker.image('s478841-image:latest').inside('--name stats_giver') {
|
|
stage('Data stats in container') {
|
|
sh 'ls -al'
|
|
sh 'chmod +x ./scripts/data_stats.sh'
|
|
sh './scripts/data_stats.sh'
|
|
}
|
|
|
|
stage('Archive artifacts') {
|
|
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false
|
|
}
|
|
}
|
|
}
|