pipeline { agent any parameters{ string( defaultValue: '500', description: 'EPOCHS', name: 'EPOCHS', trim: false ) } stages { stage('clear') { steps { sh 'rm -rf *' } } stage('Clone Git') { steps { sh 'git clone https://git.wmi.amu.edu.pl/s434743/ium_z434743' } } stage('copy_artifacts') { steps { copyArtifacts(projectName: 'z-s434743-create-dataset', fingerprintArtifacts: true) } } stage('Docker') { agent { dockerfile { filename 'Dockerfile' dir 'ium_z434743' reuseNode true } } steps { sh 'python ./ium_z434743/training.py' archiveArtifacts 'test/' } } stage('clear2') { steps { sh 'rm -rf *' } } } post { always { build job: 'z-s434743-evaluation/master', parameters: [ string(name: 'BRANCH', value: env.BRANCH_NAME), ] } } }