ium_434766/copyArtiJenkins/Jenkinsfile

29 lines
710 B
Plaintext
Raw Normal View History

2021-03-26 17:06:07 +01:00
pipeline {
agent any
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'){
agent {
docker {
image 'owczarczykp/ium_s434766'
}
}
steps {
2021-04-10 15:24:30 +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
}
}
}
}