2021-04-11 19:37:47 +02:00
|
|
|
pipeline {
|
2021-04-11 20:12:36 +02:00
|
|
|
agent {
|
|
|
|
dockerfile true
|
|
|
|
}
|
2021-04-11 19:37:47 +02:00
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
git 'https://git.wmi.amu.edu.pl/s434749/ium_434749.git'
|
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434749-create-dataset', selector: lastSuccessful()
|
|
|
|
sh 'python3 dataset_stats.py'
|
|
|
|
}
|
|
|
|
|
|
|
|
post {
|
|
|
|
success {
|
|
|
|
archiveArtifacts 'stats.txt'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|