pipeline { agent any stages { stage('Clone repository') { steps { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s486867/ium_s486867']]]) } } stage('Process data') { steps { sh './process_data.sh' } } stage('Archive artifacts') { steps { archiveArtifacts artifacts: 'results.txt', onlyIfSuccessful: true } } } }