Use docker in dataset-stats

This commit is contained in:
Jan Świątek 2023-04-19 20:14:35 +02:00
parent 4c8b571a7a
commit af84d4307c

View File

@ -1,5 +1,7 @@
pipeline { pipeline {
agent any agent {
dockerfile true
}
stages { stages {
stage('Checkout') { stage('Checkout') {
@ -14,7 +16,7 @@ pipeline {
} }
stage('Shell script') { stage('Shell script') {
steps { steps {
sh 'bash dataset-stats.sh > dataset-stats.txt' sh 'python3 dataset-stats/main.py > dataset-stats.txt'
} }
} }
stage('Save results') { stage('Save results') {