delete copy artifacts from jenkins

This commit is contained in:
Dawid 2021-05-23 18:49:38 +02:00
parent eb1614b5e1
commit 77d67c220c

View File

@ -8,26 +8,15 @@ pipeline {
) )
} }
stages { stages {
stage('copyArtifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's430705-training/master', selector: buildParameter('BUILD_SELECTOR')
}
}
stage('training') { stage('training') {
steps { steps {
sh 'rm -rf movies_imdb'
sh 'chmod +x pred_from_mlflow_model.py' sh 'chmod +x pred_from_mlflow_model.py'
sh 'python3 pred_from_mlflow_model.py' sh 'python3 pred_from_mlflow_model.py'
} }
} }
stage('archiveArtifacts') {
steps{
archiveArtifacts 'movies_imdb/**'
}
}
stage('sendMail') { stage('sendMail') {
steps{ steps{
emailext body: currentBuild.result ?: 'MLFLOW PREDICT SUCCESS', emailext body: currentBuild.result ?: 'MLFLOW PREDICT COOP SUCCESS',
subject: 's434804', subject: 's434804',
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
} }