26 lines
676 B
Plaintext
26 lines
676 B
Plaintext
pipeline {
|
|
agent {
|
|
dockerfile true
|
|
}
|
|
parameters {
|
|
string(
|
|
defaultValue: '2',
|
|
description: 'learning iterations',
|
|
name: 'epoch'
|
|
)
|
|
}
|
|
stages {
|
|
stage('Stage 1') {
|
|
steps {
|
|
copyArtifacts filter: 'data.csv', fingerprintArtifacts: true, projectName: 's444386-create-dataset', selector: lastSuccessful()
|
|
sh 'chmod u+x ./biblioteki_dl.py'
|
|
sh 'python3 biblioteki_dl.py $epoch'
|
|
sh 'tar -czf model.tar.gz model/'
|
|
archiveArtifacts 'model.tar.gz'
|
|
archiveArtifacts 'xtest.csv'
|
|
archiveArtifacts 'ytest.csv'
|
|
build job: 's444386-evaluation/training-evaluation/'
|
|
}
|
|
}
|
|
}
|
|
} |