pipeline { agent any stages { stage('Stage 1') { 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/s416239/s416239-mlworkshops.git']]]) copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() sh('chmod+x./lines.sh') sh('./lines.sh') archiveArtifacts 'lines_number.txt' } } } }