pipeline { agent any parameters{ string( defaultValue: '300', description: 'EPOCHS', name: 'EPOCHS', trim: false ) } stages { stage('Clear_Before') { steps { sh 'rm -rf *' } } stage('Clone') { steps { sh 'git clone https://git.wmi.amu.edu.pl/s444439/ium_z444439' } } stage('copy_artifacts') { steps { copyArtifacts(projectName: 'z-s444439-create-dataset', fingerprintArtifacts: true) } } stage('Docker') { agent { dockerfile { filename 'Dockerfile' dir 'ium_z444439' reuseNode true } } steps { sh 'python ./ium_z444439/train.py' archiveArtifacts 'model/' archiveArtifacts 'X_test.csv' archiveArtifacts 'Y_test.csv' } } stage('Clear_After') { steps { sh 'rm -rf *' } } }