pipeline {
    agent { dockerfile true }
    stages {
        stage('Stage 1') {
            steps {
                copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
    		sh 'ls -l'
    		checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416422/s416422-mlworkshops.git']]])
    		sh 'sh script.sh wikiniews_results.tsv'
    		archiveArtifacts 'lines.txt'
		archiveArtifacts 'WER_SSR_outcomes.txt'
		archiveArtifacts 'wikiniews_results2.tsv'

            }
        }
    }
}