Zaktualizuj 'Jenkisfile_train'

This commit is contained in:
Dawid Wietrzych 2021-05-23 14:20:16 +02:00
parent 43b4cd4864
commit 4c0c0644a6

View File

@ -11,17 +11,21 @@ pipeline {
stage('copyArtifacts') { stage('copyArtifacts') {
steps { steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's434804-create-dataset', selector: buildParameter('BUILD_SELECTOR') copyArtifacts fingerprintArtifacts: true, projectName: 's434804-create-dataset', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts fingerprintArtifacts: true, projectName: 's434705-training/master', selector: buildParameter('BUILD_SELECTOR')
} }
} }
stage('training') { stage('training') {
steps { steps {
sh 'chmod +x tensor.py' sh 'chmod +x tensor.py'
sh 'python3 tensor.py' sh 'python3 tensor.py'
sh 'chmod +x mlflow_model.py'
sh 'python3 mlflow_model.py'
} }
} }
stage('archiveArtifacts') { stage('archiveArtifacts') {
steps{ steps{
archiveArtifacts 'vaccines_model/saved_model.pb' archiveArtifacts 'vaccines_model/saved_model.pb'
archiveArtifacts 'movies_imdb/**'
} }
} }
stage('sendMail') { stage('sendMail') {