pipeline { agent any stages { stage('Stage 1') { steps { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421818/s421818-mlworkshops.git']]]) copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() sh('chmod 755 ./line_counter.sh') sh('./line_counter.sh') archiveArtifacts 'liczba_linii.txt' } } } }