ium_434766/copyArtiJenkins/Jenkinsfile

29 lines
699 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 {
sh 'python3 ./stats.py > stats.txt'
}
}
2021-03-26 17:06:07 +01:00
stage('archiveArtifacts') {
steps {
archiveArtifacts 'stats.txt'
}
}
}
}