pipeline { agent any parameters{ string( defaultValue: '1000', 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/s486867/ium_z486867.git' } } stage('copy_artifacts') { steps { copyArtifacts(projectName: 'z-s486867-create-dataset', fingerprintArtifacts: true) } } stage('Docker') { agent { dockerfile { filename 'Dockerfile' dir 'ium_z486867' reuseNode true } } steps { sh 'python ./ium_z486867/train.py' archiveArtifacts 'model/' } } stage('Clear_After') { steps { sh 'rm -rf *' } } } }