29 lines
737 B
Plaintext
29 lines
737 B
Plaintext
|
pipeline {
|
||
|
agent {
|
||
|
dockerfile true
|
||
|
}
|
||
|
stages {
|
||
|
stage('checkout') {
|
||
|
steps {
|
||
|
git 'https://git.wmi.amu.edu.pl/s434766/ium_434766.git'
|
||
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434766-create-dataset'
|
||
|
}
|
||
|
}
|
||
|
stage('Docker'){
|
||
|
steps{
|
||
|
sh 'python3 "./stroke-pytorch.py" > model.txt'
|
||
|
}
|
||
|
}
|
||
|
stage('checkout: Check out from version control') {
|
||
|
steps {
|
||
|
git 'https://git.wmi.amu.edu.pl/s434766/ium_434766.git'
|
||
|
}
|
||
|
}
|
||
|
stage('archiveArtifacts') {
|
||
|
steps {
|
||
|
archiveArtifacts 'model.txt'
|
||
|
archiveArtifacts 'stroke.pkl'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|