26 lines
636 B
Groovy
26 lines
636 B
Groovy
|
|
pipeline {
|
|
agent {
|
|
docker {image 'owczarczykp/ium_s434766' }
|
|
}
|
|
|
|
stages {
|
|
stage('checkout') {
|
|
steps {
|
|
git 'https://git.wmi.amu.edu.pl/s434766/ium_434766.git'
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434766-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
|
}
|
|
}
|
|
stage('Docker image'){
|
|
steps {
|
|
sh 'python3 "./stats.py" > data_stats.txt'
|
|
}
|
|
}
|
|
stage('archiveArtifacts') {
|
|
steps {
|
|
archiveArtifacts 'data_stats.txt'
|
|
}
|
|
}
|
|
}
|
|
}
|