2021-03-26 17:06:07 +01:00
|
|
|
|
|
|
|
pipeline {
|
2021-04-10 15:45:02 +02:00
|
|
|
agent {
|
|
|
|
docker {image 'owczarczykp/ium_s434766' }
|
|
|
|
}
|
2021-03-26 17:06:07 +01:00
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('checkout') {
|
|
|
|
steps {
|
|
|
|
git 'https://git.wmi.amu.edu.pl/s434766/ium_434766.git'
|
2021-03-28 18:53:57 +02:00
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434766-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
2021-03-26 17:06:07 +01:00
|
|
|
}
|
|
|
|
}
|
2021-04-10 13:22:11 +02:00
|
|
|
stage('Docker image'){
|
|
|
|
steps {
|
2021-04-10 15:45:02 +02:00
|
|
|
sh 'python3 "./stats.py" > data_stats.txt'
|
2021-04-10 13:22:11 +02:00
|
|
|
}
|
|
|
|
}
|
2021-03-26 17:06:07 +01:00
|
|
|
stage('archiveArtifacts') {
|
|
|
|
steps {
|
2021-04-10 15:24:30 +02:00
|
|
|
archiveArtifacts 'data_stats.txt'
|
2021-03-26 17:06:07 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|