22 lines
511 B
Plaintext
22 lines
511 B
Plaintext
pipeline {
|
|
agent {
|
|
dockerfile true
|
|
}
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
git 'https://git.wmi.amu.edu.pl/s434749/ium_434749.git'
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434749-create-dataset', selector: lastSuccessful()
|
|
sh 'python3 train_model.py'
|
|
}
|
|
|
|
post {
|
|
success {
|
|
archiveArtifacts 'cnn.pth'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|