ium_434766/copyArtiJenkins/Jenkinsfile
2021-04-10 15:45:02 +02:00

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'
}
}
}
}