pipeline { agent any stages { stage('Jenkins') { steps { copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() sh 'ls -l' checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s404686/s404686-mlworkshops']]]) sh 'chmod 755 ./metrics.sh' sh './metrics.sh' archiveArtifacts 'output.txt' } } stage('Docker') { agent { dockerfile true } steps { sh 'node --version' } } } }