pipeline { agent any stages { stage('Hello') { steps { echo 'Hello World' echo 'Trigger Check' checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416267/s416267-mlworkshops']]]) copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() sh('chmod +x ./lines.sh') sh('./lines.sh') archiveArtifacts 'lines_number.txt' } } } }