pipeline { agent { dockerfile true } options { copyArtifactPermission('s434695-training, s434695-evaluation'); } //Definijuemy parametry, które będzie można podać podczas wywoływania zadania parameters { string ( defaultValue: '10000', description: 'Obcięcie zbioru', name: 'CUTOFF', trim: false ) } stages { stage('Test') { steps { sh 'cat /etc/issue' } } stage('checkout: Check out from version control') { steps { git credentialsId: 'f746c8e0-e974-4758-838d-1920a7b0e3dc', url: 'https://git.wmi.amu.edu.pl/s434695/ium_434695.git' } } stage('sh: Shell Script') { steps { sh 'chmod +x skrypt.sh' sh './skrypt.sh ${CUTOFF}' } } stage('Artifacts') { steps { archiveArtifacts 'test.csv' archiveArtifacts 'dev.csv' archiveArtifacts 'train.csv' archiveArtifacts 'obcietedane.csv' } } } }